Game Development Community

Countdown timer

by Jeff Teoh · in General Discussion · 01/24/2008 (2:53 am) · 4 replies

I want to do a countdown timer of 20mins for my game. hw am i possible to do it and let my game end after 20mins?

About the author

Recent Threads


#1
01/24/2008 (1:16 pm)
What engine are you using?
#2
01/24/2008 (1:24 pm)
I would like to know how to do this for TGEA
#3
01/24/2008 (2:30 pm)
I think you can change it by opening up Game.cs and at the top it says $Game::Duration = 20 * 60; (it is calculated in seconds). Change it to whatever you want it to be (even though it set to 20 minutes) and the game should end.
#4
01/24/2008 (2:33 pm)
The Timer for TGE should get you started.