Updating a Game

NovicaStudioNovicaStudio Member Posts: 174
edited March 2013 in Working with GS (Mac)
Hi,
So… let's say I make a game, and then a month later, I make an update to add new stuff and fix some random bugs. And then let's also say someone had 2,579 coins on their game (this 'coins' is stored in a table which is being constantly saved) When I update the game, is the table cleared? Like, if I made an update adding new stuff, would it erase almost all data? If so, is there a way to prevent this?
Thanks a head of time,
Ethan

Best Answer

  • AdamgoproAdamgopro Posts: 310
    Accepted Answer
    All the data will still be saved as I've updated my games a few times because the highscore never gets reset it only patches over it

Answers

  • I would also be interested to know how the update process would work.
  • So just to confirm, if I update a game...and someone has a saved game file within the app, they will not lose their game save?
  • zzap64zzap64 Member Posts: 405
    Have you tried it on your own hardware using an adhoc build ?
  • pierrenilssonpierrenilsson Member, PRO Posts: 28
    as many others i am thinking about how tables is affected by updates. Is only cells that is changed affected or is the whole table overwritten? maybe i have to do some testing as zzap64 is suggesting, but it would of course be faster if anyone already knew how GS handles this
  • mounted88mounted88 Member Posts: 1,113
    edited May 2013
    as many others i am thinking about how tables is affected by updates. Is only cells that is changed affected or is the whole table overwritten? maybe i have to do some testing as zzap64 is suggesting, but it would of course be faster if anyone already knew how GS handles this
    Testing is always the suggested method in game developing. If you test it or get beta testers, then you will get enough feed back to proceed.

    Because either way you go, you want to update without overwriting your saved high score. So it would be best to build a adhoc of you update and test it.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Why is it when some answers a question the reply is always are you sure or they ask the question again. Once you save a table or use a save behavior updating your game WILL not affect those things. Geez.
  • pierrenilssonpierrenilsson Member, PRO Posts: 28
    In addition to this it seems a changed table value is not implemented at all?

    My test shows that a table cell value is indeed not changed after update, it stays the same. This is often a good thing.
    But in the same way, if a table cell value in version 1 is 0 and in version 2 is 10, the game uses the old number still. I think this is a bit strange but sure, it´s hard to know what cells to update i suppose, so the game do not care if you change your table cell values at all in a update.
    So keep in mind that you cannot change in your table in GS in order to publish an update, because those changes will not be implemented. This is how it worked on my android phone anyway, it maybe works differently on iphone..have to test it out as well when I get hold of a device. (i have noticed this while testing in GS Viewer as well, the android device does not get me a fresh install as the Mac Viewer does, probably because saved table values.)

    I suppose changes to tables could be programmed as a one time change upon first startup if you want to change table values in an update in order for it to match your GS file. Can we draw the conclusion that tables basically do not update at all after the first release? You will be stuck with the table layout as it was when released?
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    You really need to do adhoc to test this. If you use testflight make a game go through a part where table data is saved. Change a table value in a new build with the version as 2 if you do it through testflight it will install just as it would through an apple update version.
Sign In or Register to comment.