PLEASE HELP ME WITH saving SCORE

Talk about making games.

PLEASE HELP ME WITH saving SCORE

Postby Camper1995 » Sun Jan 18, 2009 4:03 pm

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 :(
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: PLEASE HELP ME WITH saving SCORE

Postby makslane » Sun Jan 18, 2009 5:31 pm

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
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: PLEASE HELP ME WITH saving SCORE

Postby Camper1995 » Wed Jan 21, 2009 6:35 pm

thnx :wink:
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron