In-Game File Deleting
Posted: Fri Oct 01, 2010 9:39 pm
Can someone please send me a script that will allow me to delete a file called "data.sav" from the game itself? I can obviously go in and manually delete the save file, but I'd like to set the game up so that when the "NewGame" tab is clicked on in the main menu, a data.sav will be deleted and the game will start from the beginning.
Data.sav is created when your character reaches a checkpoint.
On a similar note, I used Bee-ant's checkpoint tutorial ( http://game-editor.com/forum/viewtopic.php?f=4&t=8744 ) to create the method of saving, but if someone could give me a brief tutorial on how to save the score for the game, that would be pretty awesome, too! Let me know if you can provide an answer! Thanks a million!
-BlenderFreak
P.S. Sorry about all the questions - trying to teach myself GE as fast as possible so I can get started on a *real* project instead of a cheap-graphic deal. XP
Data.sav is created when your character reaches a checkpoint.
On a similar note, I used Bee-ant's checkpoint tutorial ( http://game-editor.com/forum/viewtopic.php?f=4&t=8744 ) to create the method of saving, but if someone could give me a brief tutorial on how to save the score for the game, that would be pretty awesome, too! Let me know if you can provide an answer! Thanks a million!
-BlenderFreak
P.S. Sorry about all the questions - trying to teach myself GE as fast as possible so I can get started on a *real* project instead of a cheap-graphic deal. XP