Updating app with tables? Will it overwrite?

CrestwoodCrestwood Member Posts: 80
edited September 2012 in Working with GS (Mac)
I am working on an app that will store user custom data in tables. If I put out an update, how will that work? I would not want to "blank" out what the user has put in.

Do updates just add to the app? I would assume they just amend the app due to in game purchases and items bought, but want to make sure.

Thanks!

Comments

  • BobDBobD Member, PRO Posts: 374
    I would also like to know the answer to this question. Can someone from GameSalad answer this question?
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    edited September 2012
    Hi guys!
    Here is my situation:
    I have a table called ScoresAndStars - there are 50 columns (levels), and 2 rows (number of stars, and scores for each level) - all cells are Integers.
    I save it after each level, player also have an option to reset the table.

    This game is still in beta, so I tested it only as an ad-hoc build on my iPad.
    Here is how it works:

    I finished the game (version 1.0) on my device, all levels were unlocked, and I had at least one star on each level.
    I didn't delete the app from my device.
    I published the new version (1.1) of the same game (with some images improvements). I updated the existing version on iPad.
    There were improvements I made in the 1.1 version, and saved table ScoresAndStars was still saved (nothing changed).

    After I reset the table (inside the game), and update the game to 1.2 version, the table ScoresAndStars is still empty.

    So it works great :)

    Hope this helps!

    If you want to reset the table with each new version of your game, you have to make a copy of your existing table, and overwrite the saved table with your new table (there is an behavior for this). I would add it to the first scene of the game.
  • CrestwoodCrestwood Member Posts: 80
    @TheMoonwalls thanks a lot for the response!!
Sign In or Register to comment.