Hi guys,
I would like to set a 10 second count down, then a Game Over to pop up but the count down does not begin!
I have this:
s150.beta.photobucket.com/user/melonrecords/media/time.jpg.html
Link now works!
I know I am close.
Any ideas please?
Thanks
Will.
Develop games in your browser. Powerful, performant & highly capable.
Try changing "every tick - subtract 1 to seconds" to "every "1" second - subtract 1 to seconds".
You're subtracting 1 from Seconds every tick. One tick is one frame not one second so your Seconds variable will = 0 after 10 frames (a fraction of a second). And you don't seem to be setting a text object to display the Seconds variable.
I wrote a tutorial on timers a while ago - it might be helpful:
https://www.scirra.com/tutorials/450/timers
Thanks guys.
It worked.