How do you keep preferences saved?
ncarlson29
Member Posts: 17
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
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.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thanks!
I recently posted a tutorial on creating check points, you could use this same method for saving any type of game data.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page