Hey users! This is how to create countdown timers. Creating User Interface. To start, add a "UI" layer. To make objects in this layer "float" set the properties...
I am attempting this on the free version. My event sheet looks like this ....
Timer is static.
Global Timer =45
System | Every 1.0 seconds | System | Subtract 1 from Timer
| Text | Set Text to Text.Timer
| Text | Subtract 1 from Timer
System | Timer = 0 | System | Restart layout
This worked but only reset once. On the second countdown it kept going into negative numbers and didn't reset. Without the second Text subtract it wont work.
I will make more attempts.
i had the same issue and i solved it as below:
I add:
+ System: On start of layout -> Timer: Set text to Timer
AND
+ System: Timer = 0 -> System: Reset global variables to default
Also dont forget to destroy Timer Text at the end of the layout/level.