Advanced saving

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello everyone!
I would like to ask you about something:
In my game I have saving and loading system (working really nice). I have an additional rule in each of the save slots, which informs player if the slot is empty or taken. It works like that:
--------------------------------
If attribute game.XXX is true
Display text: SAVED
Otherwise:
Display text: EMPTY
--------------------------------
I would like to make this information more complex (f.e. display the game time, which informs when player saved his game; or a information in which scene he was when he saved).
I have a game attribute which changes on each scene (I use it to changing the scene after player loads the game).

It is relatively simple (I think :)), but I have two independent save slots (1: save attribute game.XXX to XXX1; 2: save attribute game.XXX to XXX2).

Thank you for your help and advices!

Comments

  • cbtcbt Member Posts: 644
    If I understood right, you want to display the game time next to the save slot that has been saved.

    I think you need to create 2 more attributes. And when doing "1: save attribute game.XXX to XXX1;" also "Save game.time to Time1" and when saving to other slot; "2: save attribute game.XXX to XXX2" also "Save game.time to Time2"

    And you can display Time1 and Time2 next to first and second slot.

    Is that what you want to do? :)
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Yes, thanks cbt!
  • TwilightHunterTwilightHunter Member Posts: 146
    Hey quick question, does the saving system in Gamesalad actually save attributes whether or not you turn off your device? So if I had a save system, saved the game and then turned off my iPhone, would I still have that data? I don't think it worked with my first game, but I'm not sure.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    TwilightHunter said:
    Hey quick question, does the saving system in Gamesalad actually save attributes whether or not you turn off your device? So if I had a save system, saved the game and then turned off my iPhone, would I still have that data? I don't think it worked with my first game, but I'm not sure.

    Sure, it works! If you save your game, then turn off, then turn on, you'll still have your saves.
  • TwilightHunterTwilightHunter Member Posts: 146
    Ok thanks, was just double checking. I know I've seen people talk about high scores being saved and such, but I just wanted to double check on something like RPG data. Now I can fully continue production on my game!
Sign In or Register to comment.