I’m making a simple countdown app. it’s similar to the countdown in this forum:
Part 3: Countdown
Another common way use the timer components is to create a countdown. There are lots of different UIs for this, but to keep it as simple as possible we’ll be working with just minutes and seconds. If you remix this project, you can add in hours or days too!
Click here to remix the “Tempus” app
Components
There are two TextInputs at the top of the screen, separated by a label.
Underneath this is the main output label, which shows how much time is left in the countdown.
Finall…
the only difference is that the user can only input time in seconds (although the app will display the input time in minutes if it applies)
I ran into a problem however, the countdown stops after 1 second.
here is the code on the app:
and here is the app link: Thunkable
Any help would be appreciated!
These are your timer settings:
You need to enable Loops. That’s going to fire your timer every 5 seconds instead of only once after 5 seconds. Are you wanting the interval to be 5 seconds or 1 second?
4 Likes
muneer
July 5, 2022, 10:35am
3
You need the Loop
option in the Timer
settings to be False and also you need to control when to stop counting. The current code will continue firing into negative values.
[Update]
You need the Loop
option in the Timer
settings to be True .
1 Like
You mean True , right? This is what allows the timer to run repeatedly
1 Like
muneer
July 5, 2022, 11:20am
5
domhnallohanlon:
You mean True , right?
Yes, you are correct. I updated it.
system
Closed
October 3, 2022, 11:20am
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.