How do I update the save game for a new game version?

2 favourites
  • 2 posts
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Basically, I have a version of my game that I'm using the "Save and Load State" functions for the player to save and load his game, however, I'm planning on releasing a lot of updates for my game, but I noticed that if I add something new to the game map and then use the "Load State" function, the game won't have the things that were newly added because the state of the game was saved before adding these new things, so how can I "update" the player save game for future game updates?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would suggest you to use array for the most important things. Save and Load state for example are helpful to save quick checkpoint in the level itself, but then you should remove the save state once the level is done for example.

    If for example you you need to remember what item the player took, which door the player unlocked, or some kind of states, use an array and save it as JSON in the local storage. I usually assign the X or Y to the IID of the specific object, and update the array accordingly.

    When the player start the game or the level, you would need to just load the JSON from the local storage and push it into the array.

    In my opinion, Save and load state should only used for quick savegame and not to store the whole game. So that, even if you update the game, you could eventually detect the update and force the player to start from the beginning of the level.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)