Saving game values permanently (i.e. Game Progress)
dustingriffie
Member Posts: 57
Hi I need some assistance with game progression. What is the best way to basically save progress so when an app is closed, the game saves the level they last unlocked?
I watched a view videos but need a little further assistance, thanks!
Comments
I am planning on trying to use tables, how do you reference table data, say if column 1 row 1 is 1, do this.
you might want to look at function tableCellValue()
and Save Table behavior
If you want to use it for unlocking levels, after a new level is unlocked, use Change Table Value and then Save Table. Once it is saved, data is retained even on app or device restart.
Then, all you need to do when the app starts up, is to check the state of the table and use that to set the correct lock/unlock values to the levels.
You access the table data using the tableCellValue() command in the Expression Editor.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Yes I was tinkering with this last night and I think I got it even though it doesn't directly show in Gamesalad, thank you for your help!