Page 1 of 1

PLEASE HELP ME WITH saving SCORE

PostPosted: Sun Jan 18, 2009 4:03 pm
by Camper1995
Hi there, I need to save score, so, I can save game, save highscore, BUT, how can I make, that when I close the game, my score will be saved, and when I click LOAD GAME, score will be loaded?

Plaese, help me.

Thanks :(

Re: PLEASE HELP ME WITH saving SCORE

PostPosted: Sun Jan 18, 2009 5:31 pm
by makslane
You can use the saveVars and loadVars functions.

Read more in the docs:
http://game-editor.com/docs/script_refe ... m#saveVars

And in this post:
viewtopic.php?t=534

And get a ges example here:
http://game-editor.com/examples/savevars.ged

Re: PLEASE HELP ME WITH saving SCORE

PostPosted: Wed Jan 21, 2009 6:35 pm
by Camper1995
thnx :wink: