GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 57Member

    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 Posts: 453Member

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

  • pHghostpHghost London, UKPosts: 2,301Member

    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 Posts: 57Member

    @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.