How do I save game?

0 favourites
  • 3 posts
From the Asset Store
20 high quality click sounds, ready to improve your game's UI instantly
  • Hello

    I work on mobile game (idleRPG) and i got problem with saving game, i use option save game from system, this is my code:

    I dont know why, sometimes when i turn on game again i "lose" my save and i cant load that.

    There is other better option to save game, or what i can do wrong and my saves gone :P?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't see how you could ever load a proper game with this logic. In the same layout where you are trying to load a previous save game, it is saving over it every second. So unless you manage to click the load button within 1 second you've already lost your save game.

    As for a fix it depends on the game design but I would definitely only save every second during the gameplay, not on the same screen where you are trying to load games, so move that autosave to the layout where you are playing the game.

  • Yea, you have right, now i know why thats happened....

    Thanks lionz again :)

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