Saving high scores on iphone question

Goodnight GamesGoodnight Games NYCMember, PRO Posts: 184
edited May 2012 in Working with GS (Mac)
Ok so I'm building my game and I've gotten to my local high score board. I plan on building it with variables that hold the data via change attribute and some rules for ranking order and putting them on a screen.

My question is will they always keep the scores? Like if I'm playing it on my iPhone, I turn off the phone or shut the game down will the scores default back to 0 when I reopen the game? If so is there a way to change this?

Best Answer

  • tenrdrmertenrdrmer Posts: 9,934
    Accepted Answer
    You have to use change attribute first. Then run the save so it holds the value you just changed it too.

Answers

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You need to use Save and Load attribute behaviors to save your values and reload them anytime the game is closed out.
  • Goodnight GamesGoodnight Games NYCMember, PRO Posts: 184
    You need to use Save and Load attribute behaviors to save your values and reload them anytime the game is closed out.
    Ok so when the game starts I load the attributes and when I put the high score in I use save attribute instead of change attribute?
  • Goodnight GamesGoodnight Games NYCMember, PRO Posts: 184
    You have to use change attribute first. Then run the save so it holds the value you just changed it too.
    Awesome, thanks!
Sign In or Register to comment.