Scrolling Game Development Kit Forum
SGDK Version 2 => Help, Errors, FAQ => Topic started by: Vincent on 2009-04-28, 08:54:02 PM
-
Hi guys,
I'm working on the save / load features of my game and it works like a charm. 8) But I'm wondering, when the savegame function is called and it is not storing in memory, it should create a .sav file. Where is that file created? It doesn't seem to be in the exe folder...
Thanks! :)
-
Because some operating systems prevent applications from writing to the program files directory without permission, it must be saved in an area reserved for user data. It should be in a path like C:\Documents and Settings\Ben\Application Data\SGDK2\Scrolling Game Development Kit\2.1.1. This path is returned by the .NET framework with System.Windows.Forms.Application.UserAppDataPath.
-
Great! Thanks a lot. :)
-
I hope things are going well on this project and that you have recent backups (would hate to hear that something failed and you lost 3 days work and had to give up on the project as a result or something). It sounds like you're making good progress on an interesting game. I look forward to seeing it in the project listing and hearing other people's reactions. Will you be posting it for all to try when you're done?
-
Hi!
Sure, it's going along well! I didn't bump in any obstacle recently, that's why I didn't post any other question. ;) For the moment, I am creating enemies. They all have their unique aspect, attacks, etc. But the code behind is very similar for each. So it's not much brain work to create them since I completed the first one, but it takes time. I've completed 5 enemies and done the graphics for 4 others. I plan to have about 15 or 16 of them. When the enemies are done, I will move on to level design. And then create boss battles. And then cutscenes... And I guess that will be it for the first version. I am a long way from there and I'm not in a rush.
If you want to see a version, I would be happy to post my work files as they are right now. :) There is only a test chamber in which I spawn enemies to test battles, projectiles to test trajectories, and power ups to test the powers of the character, etc. For the graphics, I took sprites ripped from many games and I modified them to suit my needs, so there's definitely copyright issues coming at me! :p I hope that by clearly stating that it is a free fan game, no one will bother to sue me. ;)
Thanks for your interest. :)
-
No need to expose your work in progress until it's ready (as far as I'm concerned) -- as long as I get to see it someday, I can wait.
-
Allright then. Don't worry, you will see it eventually. :)