segwego12 wrote:for exe, just put something like domino.exsrhsehrsp, I won't be able to find it and it will reset.
DST wrote:the easiest way to reset an entire game (game over) is to use the loadgame(); function;
Just use loadgame(gamename); and the current game will be dumped and reloaded.
You can save previous score etc. and reload it when the game starts using loadVars and saveVars;
Look in the documentation for proper usage of these functions.
Restarting levels on a game requires a little more coding, and you have to create your game with that in mind; ie, actors spawn somewhere in game mode instead of being placed there in editor mode.
Users browsing this forum: No registered users and 1 guest