How do I save the game (dictionary,webstorage,AsJSON)

0 favourites
  • 1 posts
From the Asset Store
20 high quality click sounds, ready to improve your game's UI instantly
  • I'm having a hard time to understand all the steps using the dictionary, webstorage and AsJSON. I've already read the manuals and I didn't get much.

    My save game will be the same as the angry bird game style.

    So I've created a couple variables that will temporarily store all the values that I need to calculate the player's score, then I save it to a dictionary. After that I have no clue how to save the game using dictionary information using webstorage and load it when needed, in order to unlock the touchable buttons of it level of the game.

    Edit: Also I don't want to save all the state of the game, only the dictionary content, which will unlock all the levels by asking, if level name is stored, them unlock it and show it's score.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)