Page 1 of 1

Countdown clock

PostPosted: Fri Dec 10, 2010 11:20 am
by peedalein
Greetings,

i was trying to figure out how to create a countdown timer. The examples that I found usually
showed how to count down from 100 to 0.

Therefore I created a countdown clock. Attached you find the file. The graphics are ugly and it has some
flaws but it is good enough for my game :)


The clock is limited to 3:59 minutes but that may be easily changed.
The time can be set in the view actor (Create Actor)
After counting to 0:00 it still continues to count. Trigger an action, end the game or do whatever you like.

Re: Countdown clock

PostPosted: Tue Nov 08, 2011 8:49 pm
by Searcher
Thank you very much for this code. It has been infinietly helpful :D

For people new who are using a countdown timer like this for the first time, it is necessary to add the variables "Zeit_sek1_V" "Zeit_sek2" and "Zeit_min_V"