How do I bind timer to one layout

0 favourites
  • 5 posts
From the Asset Store
Goodbye to sprite fonts, when you have something new on the anvil for your upcoming Games !
  • I have made a timer for a quiz game that I'm making for an assignment.

    The timer works perfectly but it works for all layouts, how do you bind a timer to one layout?

    My timer looks like this :

    Added Global Variable : Countdown = 5

    System : Every 1.0 seconds > System : substract 1 from Countdown

    System : Countdown = 0 > Go to layout

  • Are all layouts connected to same even sheet?

  • Yes, I didn't think of that, so I assume I need to add another event sheet and put my timer on that or something?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well I think it depends on your Events, you can still keep it all to one event sheet but put the timer event in a Group, and Set the group active whenever you want the timer to start, for example group called "Countdown".


    On Condition Met --- System --> Set Group "Countdown" Active

    Else ---> Set Group " Countdown" Inactive

    Ofcorse you have to add that under another event like compare variable or so.


    I am sure there are other ways but this what I can think of at the moment

  • Anyone else have any idea on how to get this to work on only one layout?

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