Saving, Naming, Recording a date & name of player and having the option to load it again later?

natclarkenatclarke Brisbane, AustraliaMember, PRO Posts: 243
Is there a way to save the game, name it and record a date and name of player so that they can load it again later.

(a) When a Load past game scene is accessed it shows:

Multiple games saved
e.g. Sharon's Game on 5/5/2012

Nat Clarke
Life Cleansing

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Sure, you need to use Save/Load behaviors. But you need to remember that you have to save EACH attribute you want to be saved, separately. To save the name you need to make additional Text behavior, and save it after the person types his name.

    It's easy, and there are tutorials - just look for them :)
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    I'd use a table. That way, you can just have each saved game on a new row, and the information saved would be uniform.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    The way I've done this is to save each person's game in a table row and then display all of the table rows when allowing the player to load a saved game. The key is the row number (e.g. game.AccountNumber). You just need to have the player select their name and capture the corresponding row number and then you can load the game by just doing change attribute game.AccountNumber to game.SelectedAccountNumber.

    I'm not saying it's simple to implement, but that's the process.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.