Same game?

Game Editor comments and discussion.

Same game?

Postby mhs12grade1992 » Wed May 17, 2006 5:31 pm

Hello,

Is there any possible to save game for play later?

Smile
mhs12grade1992
 
Posts: 4
Joined: Thu Apr 20, 2006 10:19 pm
Score: 0 Give a positive score

Postby Parrot » Wed May 17, 2006 5:38 pm

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?
Parrot
 
Posts: 36
Joined: Sun Sep 25, 2005 9:04 pm
Score: 0 Give a positive score

Postby mhs12grade1992 » Thu May 18, 2006 7:07 pm

What I meant is to stop a game and save it so I can resume the game later.

That's my point.
mhs12grade1992
 
Posts: 4
Joined: Thu Apr 20, 2006 10:19 pm
Score: 0 Give a positive score

Postby DilloDude » Thu May 18, 2006 11:22 pm

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.)
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest