Help with level unlock

rodrigosw94rodrigosw94 Member Posts: 45
edited April 2012 in Working with GS (Mac)
Hello, I need some help here..

My game have level unlock, so, for go to level 2, you need to finish level 1. If you dont make this, the level 2 are locked, and cannot be played. Okay, in the theory all works, and in practice not much. Whats happens is: you play the game, ok, unlock 10 levels for example, but if you hit the home button of iPhone, and back after for game, your game are reseted!

How can I solve this?

Thanks!

Best Answers

  • mrglocklingmrglockling Posts: 258
    Accepted Answer
    Use Save Attributes
  • SlickZeroSlickZero Houston, TexasPosts: 2,870
    Accepted Answer
    You need to use a "save attribute" on the behavior that tells the next level to unlock, and then have the attributes load at the beginning of the game with a "load attribute" behavior

Answers

Sign In or Register to comment.