Levels & Achievements Saving States When App is Closed

AndrewDKAndrewDK Member Posts: 7
edited November -1 in Tech Support
Can anyone point me in the right direction, I have this all working up until the point where it needs to save states when the App is closed. Where or how would I go on doing this.

In Xcode I would use an database.

Thanks,
-ADK

Comments

  • AndrewDKAndrewDK Member Posts: 7
    Figured it out Saving Attributes.
  • JBULLFROGJBULLFROG Member Posts: 58
    Ive got a similar question, how do you detect that the user hit the home button to close your game? Im not seeing this anywhere, so i can save my attributes when the game is closed.

    Thanks
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    You can't. You need to decide when you want to save the data.

    I save at the end of every level, if the user quites mid level, that level is not saved.
  • JBULLFROGJBULLFROG Member Posts: 58
    Thats what i thought, just wanted to check, thanks.
Sign In or Register to comment.