Animate a countdown (3,2,1,GO!)

0 favourites
  • 10 posts
From the Asset Store
Video intro templates for games and game making with Construct 3 made with Animate
  • Hi all,

    After alot of confusion about Construct 2 and animations i am not sure what the best way is.

    What i'm up to is a countdown.. You know.. The basic 3 , 2 , 1 , GO!

    Now i want the numbers go from big to small.

    Now can some one tell me what the best way is to reach this goal.

    As far as i can think of now i have to make a animation with alot of images that are smaller every time. This isn't the only way to do it right?

    Thanks in advance!

    ++++++++++++

    END RESULT! Thanks all.

    LINK TO RESULT

    DOWNLOAD FILE

  • One way:

    4 animation frames changing every x seconds you want with with sine behavior.

    and there are many more ways to do what you want

  • My first thought was to use sprites.

    so you would have your sprite created , wait 1 second, next sprite created...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You got me right there! I never looked in to behaviors pretty much. Never knew of SINE.

    Thanks! Works like a charm :)!

    For other people..

    Behaviors > Sine

    Movement: Size

    Wave: Sawtooth

    Period: 1

    Magnitude: 300

    Than you get a perfect countdown! ( you have to delete objects and create etc after some seconds but thats just some playing around. )

  • add text object

    initial visibility invisible

    add event:

    every 1 second

    condition: compare text.txt equal to 0 - invert

    condition: compare text.txt equal to "GO" - invert

    action: set text.txt =   int(text.txt) - 1

    action: set text visible

    sub

         condition: compare text.txt equal to 0

         action: set text.txt = "GO"

         action: wait 1 sec

         action: set text invisible

         action: set text.txt = 0

    The above is a functional countdown timer with only a text object.

    As soon as you set text.txt to anything bigger then 0, then it appears and starts counting down to 0 and says Go.

  • Drat - too late ! <img src="smileys/smiley19.gif" border="0" align="middle">

    anyway !

    edit - forgot to say it would need better graphics !

  • Drat - too late ! <img src="smileys/smiley19.gif" border="0" align="middle">

    anyway !

    edit - forgot to say it would need better graphics !

    I always like your effects side of things rampack :) nice approach :)

  • I also now updated my first post with a link to the result.

    Thanks guys!

  • Allardje - nice effect but the 1 is going a bit wrong ? (At least on this cheap android tab)

    lennaert - thank you.

  • You have to change the 1's wait statement to 0.5 seconds and it works (or at least looks better).

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