saving unlocked levels on iPhone

Hello,

I have a problem, I have an attribute that saves which level is unlocked, when user closes game than re-opens it shows the unlocked levels, which is exactly what I want. but when user clear the app from the background "double tap on the home buttone and delets the app from background" the saved unlocked levels are removed, user now has to start all over?


any resolution would be appreciated.

when the game loads, i have a load attribute in the splash screen.

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Make sure to have a save attribute behavior every time a user completes a level. Also make sure you are saving and loading the attribute using the same key.
  • WhySoCREATIVEWhySoCREATIVE Member Posts: 75
    Or use a table and save table and create a rule in the beginning to load the table value to a game attribute.
Sign In or Register to comment.