Modal layouts don't pause timer and reset trigger once event

This forum is currently in read-only mode.
From the Asset Store
Change the size and position of everything without calculating anything!
  • I'm making a shooter and have tried to set it up to use both the timer and a variable for timer based events, but both don't work when it comes to pausing via a modal layout.

    The timer doesn't pause when using a modal layout, so that won't work. Neither does using a variable and 'trigger once' because the modal layout resets the events so after closing the modal layout, all the trigger once events activate again even when they shouldn't.

    Are either of these bugs? It seems like they shouldn't work that way. Using timers, a whole bunch of the level will suddenly appear (whatever passed while it was paused) and using variables, the level up to that time appears at once. I can think of a clunky way around this that involves deactivating all the behaviors and sticking almost all of the events into a couple subevents, but it seems like they shouldn't work that way.

  • Yeah, it shouldn't work like this. Submit it as a bug to the tracker.

  • Will do, thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the modal layout resets the events so after closing the modal layout, all the trigger once events activate again even when they shouldn't.

    this may also be related to my small issue --

    <img src="http://upload.dfyb.net/uploaded/modal_bug.PNG">

    if i sustain my run animation, it will basically add a new instance of the animation on top of the one already there.. one duplicate for each time i create and close a modal layout (options screen). switching animations corrects the problem.

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