Help with game reset

rodrigosw94rodrigosw94 Member Posts: 45
edited April 2012 in Working with GS (Mac)
Hi again,

In options scene of my game, I have a button that you can reset the game. But, when I click this, all levels unlocked before, continues unlocked.

How can I setup game reset with save/load attributes?

Thanks!

Best Answers

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    Any attribute that you saved, need to be saved again with the 'reset' value, otherwise the old value will just get loaded next time that you will load the attribute.



    Follow Eating My Hat on Facebook and the Blog
    Check out my templates in the GS Marketplace or at the store
  • SlickZeroSlickZero Houston, TexasPosts: 2,870
    Accepted Answer
    You need to save the attribute changes to the locked levels when you hit the "reset game" button, and then have load attributes that tells the game to lock them back when it first starts up after the reset.

Answers

Sign In or Register to comment.