How do you keep preferences saved?

For example let's say that somebody presses to mute the audio, how do you make it so that the next time they open the app the audio is still muted? Keep in mind I have yet to finish an app so i don't know if this just happens by default (but I'd assume it doesn't). Also i tried looking for the answer as I'm sure it has been answered before but didn't have any luck finding it.

Comments

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

    You have two choices: save and load attributes for each "preference" or save a table with all of the "preferences" (tables auto-load at runtime).

    Start by Googling save attribute gamesalad and save table gamesalad.

  • ncarlson29ncarlson29 Member Posts: 17

    thanks!

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    I recently posted a tutorial on creating check points, you could use this same method for saving any type of game data.

Sign In or Register to comment.