Save boolean attribute when the game is closed?

champ442champ442 Member Posts: 42
edited September 2012 in Working with GS (Mac)
I have my game and when level 1 is done, then a boolean attribute change to true, and then if i touch the level 2 and the boolean attribute is true then change scene, can i do so that i saved when i close the game?

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Save attribute game.X

    And then load this attribute at the start of your game :)
  • champ442champ442 Member Posts: 42
    It works but now i can't lock the levels agin, i had try to delete all the load all the attributes but when i i write them agin, the levels are unlocket ??
Sign In or Register to comment.