Page 1 of 1

restarting a game

PostPosted: Sat Nov 05, 2005 11:55 pm
by Kodo
Is there an easy way to restart a game, so say a player quits their current game and goes back to the front end? When they start again I want everything to be reset is though its the first time theyve run it. The game spans several levels, lots of different actors and positions so I'd like to clean sweep it all back to default. Any ideas please?

PostPosted: Sun Nov 06, 2005 2:36 am
by willg101
loadGame();

:? would that work?

PostPosted: Wed Nov 16, 2005 10:56 pm
by Chai
the easy way maybe this way
use this code loadGame(gamefile.exe);

1.created the logo.exe file and when the logo finish put the code
2.created the gamefile.exe when the game over put this code loadGme(logo.exe);

the loadGame(); can load exe files when u export game and can load the ged files in game mode (the both files must in the same folder)

is it help? >_<

PostPosted: Thu Nov 17, 2005 12:10 am
by Kodo
hmm, that sounds workable, but ideally id like to stay to just one file. I guess I could just use loadGame(gamefile.exe); , it just means the splash screen will appear before the main title screen, i'll have to have a play :) Thanks for the help guys!