How do I reset a save?

0 favourites
  • 3 posts
From the Asset Store
Template for a generic save / load system, fully documented in comments and video
  • Heya,

    So i'm working on a game.. and would like to know how to reset a game.. via a button named new game or something like this. Is this possible? if it is can someone maybe make a example?

    Thanks, Nick

  • When you use the 'reset layout' command, it doesn't re-set the global variables.

    Add a Global variable called 'wipesave', and let it be 0 by default.

    When the player clicks the 'New Game' button, set 'wipesave' to 1.

    Add a condition on the start of the layout:

    wipesave=1

    Save game

    Here you might want to also use 'Reset Global Variables'

    That should do the trick!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you use the 'reset layout' command, it doesn't re-set the global variables.

    Add a Global variable called 'wipesave', and let it be 0 by default.

    When the player clicks the 'New Game' button, set 'wipesave' to 1.

    Add a condition on the start of the layout:

    wipesave=1

    >>Save game

    Here you might want to also use 'Reset Global Variables'

    That should do the trick!

    Ooh! Thanks! I will check it out later today

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