Reset time when restarting layout?

0 favourites
  • 4 posts
From the Asset Store
Time rewind like in "Braid". Choose objects that will be affected by time rewind
  • Am I just doing something wrong, or does the "Every X Seconds" not reset when you restart the layout? The problem is I have some enemies that fire bullets every 3 seconds, but if I restart the level in, say, 2.8 seconds, they start firing too soon when the level begins.

    Is there a way around this?

    Today's been a baaaad day for programming...<img src="smileys/smiley18.gif" border="0" align="middle" />

  • I think youmay need to choose Reset Global Variables.

    Failing that, just have a clock function made from Every X Seconds anda variable that has 1 added to it every time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cheers, will do. Should be fairly easy to just use mod on the timespan for this. Just wanted to make sure I wasn't missing something obvious.

    Am I the only one who finds it a little strange that it doesn't reset to zero when the level restarts? I'm surprised people haven't run into more problems with it.

  • A global variable is supposed to be "Global" , It would only restart when all the system would restart , not when a layout restart ...

    And adding a little event isn't too much ;)

    Cheers

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