Same game?
Posted:
Wed May 17, 2006 5:31 pm
by mhs12grade1992
Hello,
Is there any possible to save game for play later?
Smile
Posted:
Wed May 17, 2006 5:38 pm
by Parrot
Do you mean so that you could get replays?
It depends on your game. This sometimes works: you can fashion a system where the game records the user's keystrokes and the time between them. Then read it back and activate the proper actions for each keystroke at the appropriate times.
Does that help?
Posted:
Thu May 18, 2006 7:07 pm
by mhs12grade1992
What I meant is to stop a game and save it so I can resume the game later.
That's my point.
Posted:
Thu May 18, 2006 11:22 pm
by DilloDude
Yes, you can save variables using the saveVars function. The simplest method might be to just save the level you're on, and load it there again, but depending on what type of game you are making, you might want to create an array of values to save (x position, y position, health, score, lives etc.)