timer counter

0 favourites
  • 5 posts
From the Asset Store
Make a displayed number gradually increase or decrease, making an impression of a real-time counting.
  • ? as I can make a timer for layer

    terminer when the player having the total time played,

    and the time spent by each of the layers?? <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I have not tested this but maybe you take the current time at the beginning of the level and save it as starting time. When the player finish the level, you take current time - starting time. The diference is the time for the level.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • and how do I access the time spent by each level

  • ? as I can make a timer for layer

    terminer when the player having the total time played,

    and the time spent by each of the layers?? <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" />

    Use the for every second event and a global Var

    Ex:

    Global Var "Timer"

    For every 1 second: Add 1

                        to "Timer"

    "Timer" you will reset

    so Create another Var to store the Timers count before the end of each level.

    This also works with holding your Score.

    Ex:

    Player collides with "End Trigger"

    Add "Timer" Var to "TotalTimer" Var

    Set "Timer" Var to zero

    Then proceed to next level/Layout

    Ex: display;

    Every Tick: Set Text

                to: "Timer: " & LevelTime

  • >

    > ? as I can make a timer for layer

    > terminer when the player having the total time played,

    > and the time spent by each of the layers?? <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" />

    Use the for every second event and a global Var

    Ex:

    Global Var "Timer"

    For every 1 second: Add 1

                        to "Timer"

    "Timer" you will reset

    so Create another Var to store the Timers count before the end of each level.

    This also works with holding your Score.

    Ex:

    Player collides with "End Trigger"

    Add "Timer" Var to "TotalTimer" Var

    Set "Timer" Var to zero

    Then proceed to next level/Layout

    Ex: display;

    Every Tick: Set Text

                to: "Timer: " & LevelTime

    mmm all rigth

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