Saving Game

What commands and stuff do I have to put in order for the game to save itself if the player exits the app

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited July 2015

    Start by Googling save attributes gamesalad. You can watch one of the tutorials about high scores, for example, to learn about how to save and load attributes. Or you can use tables to save and load many values at once. The specifics of what you need to save are dependent on the details of your game, which you haven't explained. Some games are going to require a single attribute (e.g. game.currentLevel) while others are going to require dozens of attributes (e.g. game.playerHealth, game.EnemyXPosition, game.EnemyYPosition, game.score, game. timeRemainingOnLevel, etc.).

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

Sign In or Register to comment.