how to make a countdown timer

For questions about using Classic.

Post » Wed May 05, 2010 9:33 pm

what events/actions would i have to do for a still layout with nothing moving to go to the next after 5 seconds? i tried
at start of layout, subtract from private variable of titled background "countdown" 100 * TimeDelta, but that didnt seem to work. i didnt expect it to, as i dont even know really how to use timedelta.
B
1
G
2
Posts: 5
Reputation: 635

Post » Wed May 05, 2010 10:34 pm

[quote="abkarch":15dacno2]what events/actions would i have to do for a still layout with nothing moving to go to the next after 5 seconds? i tried
at start of layout, subtract from private variable of titled background "countdown" 100 * TimeDelta, but that didnt seem to work. i didnt expect it to, as i dont even know really how to use timedelta.[/quote:15dacno2]
If you just want to go to another layout after a fixed time elapsed there are easier ways. One is the System expression Compare time. Set it to compare "equal to" and 5000 milliseconds (=5 sec) and all is fine :D
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Wed May 05, 2010 11:37 pm

wow, i missed that >_> thanks!
B
1
G
2
Posts: 5
Reputation: 635


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests