New game vs Persist behavior

0 favourites
  • 4 posts
From the Asset Store
Create your game with this complete pack of images and animations!
  • Hello everyone,

    I've used the "persist behavior" on some objects of my game. The problem is, when I go back to the main menu then start a NEW GAME, those objects keep their states and aren't reseted.

    I have no idea how to get their original state without closing the game and relauching it.

    Perhaps it's not yet possible. I saw some topics about an "enable/disable persist behavior" option on the ToDo list of Ashley.

    But I'm no sure if this is the answer to that issue.

    If someone has the solution or, at least, a temporary solution, that would be nice. :)

    Thanx !

  • Possibly a stupid answer as I haven't played around with persist behavior, but would setting: "On start of layout - reset global variables" help?

    As I say, never played with persist so ignore me if I'm wrong <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello ReanimtedNerd,

    I already tried to reset all the globals but it didn't worked.

  • Possibly having a save state of a blank project with persistent objects in their initial state and silently load that save state when selecting NEW GAME? Maybe. If that exists somewhere.

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