saving progress

RUPASRUPAS Member Posts: 823
edited November -1 in Working with GS (Mac)
hello friends, as you know I'm doing a game like adventure, I finish it yesterday! you can help me save your progress in the game? thanks

Comments

  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    Well you have to tell the game which attributes you want it to save. And when to save them.

    e.g if you had an attribute game.itemFound

    You would use the save attribute. You tell it which attribute to save and a 'key'. You name the key whatever you like. e.g KeyItemFound

    So you might say
    When game.itemFound = true
    Save attribute game.itemFound with a key name KeyItemFound

    Then you also need to load this when the user comes back to the game using the load attribute. Again you say which attribute to load and say the key name again.

    Shaz

    ------------
    image
    "...the resulting sonic effect is almost mesmerising." Pocket Gamer
    Sound design and music service available: http://tiny.cc/MusicService
    www.HoneyTribeStudios.com
Sign In or Register to comment.