Save and load help!

FreiGamesFreiGames Member Posts: 158
edited November -1 in Working with GS (Mac)
I made a cool game for the iPhone, but i really don't know how to save and load the game... not only the scores but the entire game!
Can anyone help me? :/

Comments

  • JCFordJCFord Member Posts: 785
    You can use the SAVE and LOAD behaviours that were introduced in Version 0.7:
    http://gamesalad.com/wiki/whats_new:gamesalad_0.7.0
  • FreiGamesFreiGames Member Posts: 158
    JCFord said:
    You can use the SAVE and LOAD behaviours that were introduced in Version 0.7:
    http://gamesalad.com/wiki/whats_new:gamesalad_0.7.0

    but would i then have to save and load all atributes in my game?
    thx for reply! :D
  • JCFordJCFord Member Posts: 785
    Not sure I understand you... You set all the attributes in your game with what ever default you want. Then when the User is playing your game, If they change any of the attributes and you want them to stay next time the game is played then you would need to save them in a Key with the Save behaviour and at the start of your game Load them in.

    Hope that helps
  • FreiGamesFreiGames Member Posts: 158
    JCFord said:
    Not sure I understand you... You set all the attributes in your game with what ever default you want. Then when the User is playing your game, If they change any of the attributes and you want them to stay next time the game is played then you would need to save them in a Key with the Save behaviour and at the start of your game Load them in.

    Hope that helps

    Ok I think i understand!
    Thanks for your help, I appreciate it!
  • FreiGamesFreiGames Member Posts: 158
    Ok i tried to do this, but when i close the game and open it again it just deletes the highscore even though i saved and loaded my high-score atribute :/
    Any help?
  • FreiGamesFreiGames Member Posts: 158
    Ok i tried to do this, but when i close the game and open it again it just deletes the highscore even though i saved and loaded my high-score atribute :/
    Any help?
Sign In or Register to comment.