Saving game values permanently (i.e. Game Progress)

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

  • dustingriffiedustingriffie Member Posts: 57

    I am planning on trying to use tables, how do you reference table data, say if column 1 row 1 is 1, do this.

  • tintrantintran Member Posts: 453

    you might want to look at function tableCellValue()
    and Save Table behavior

  • pHghostpHghost London, UKMember Posts: 2,342

    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.

  • dustingriffiedustingriffie Member Posts: 57

    @pHghost said:
    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.

    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!

Sign In or Register to comment.