To stop the c lock, you simply need to add two conditions to your trigger such that it only subtracts 1 from the Seconds if Minutes > 0 OR Seconds > 0.
Once you get down to zero minutes, the seconds will still count down until you get to zero seconds as your trigger is set up for one condition or the other condition to be satisfied. Once it also reaches zero seconds, the count will stop as neither trigger is satisfied.
The attached example is a countdown clock I provided a while ago in answer to another post. I thought you might be interested in it as it uses a different approach to showing and hiding a timer layer and instead uses a shape moving along a one-second motion path to act as the counter. As the shape is off to the side of the slide, it isn't visible to the user.
Both techniques are commonly used, but I always use the moving shape option out of choice.
Ned I have an additional question- if I want to use a 2 minutes countdown per slide- how can I do it? I tried using yours but it will continue the time countdown of the previous slide. Can I reset the countdown in each slide?
In the attached example I have used the bouncing rectangle timer in a layer on the Master Slide and then used triggers on the master slide base layer to reset the variables for mins, secs and timer, when the timeline starts on the slide. This ensures that the timer resets each time you jump to a new slide.
As you are only using a 2 minute timer, you don't actually need a state change of the text box displaying the mins variable to include a leading zero, however I have still included it in case you want to increase your timer above 9 minutes.
If you want to vary the minutes on a particular slide, just add a trigger to the base layer of that slide to reset the mins variable when the timeline starts. For example:
8 Replies
Hi Shevi,
To stop the c lock, you simply need to add two conditions to your trigger such that it only subtracts 1 from the Seconds if Minutes > 0 OR Seconds > 0.
Once you get down to zero minutes, the seconds will still count down until you get to zero seconds as your trigger is set up for one condition or the other condition to be satisfied. Once it also reaches zero seconds, the count will stop as neither trigger is satisfied.
Thanks Ned- this works:)
What if I want a "Time is over" layer/ text box to appear if the countdown is 0:00?
How do I do that?
Hi Shevi,
In the attached version of your file I have added one more trigger to show the new layer:
Thank you Ned!!! Hope this countdown clock will help others as well:)
Hi Shevi,
The attached example is a countdown clock I provided a while ago in answer to another post. I thought you might be interested in it as it uses a different approach to showing and hiding a timer layer and instead uses a shape moving along a one-second motion path to act as the counter. As the shape is off to the side of the slide, it isn't visible to the user.
Both techniques are commonly used, but I always use the moving shape option out of choice.
Thanks for sharing this!
Ned I have an additional question- if I want to use a 2 minutes countdown per slide- how can I do it? I tried using yours but it will continue the time countdown of the previous slide. Can I reset the countdown in each slide?
Thanks
Hi Shevi,
In the attached example I have used the bouncing rectangle timer in a layer on the Master Slide and then used triggers on the master slide base layer to reset the variables for mins, secs and timer, when the timeline starts on the slide. This ensures that the timer resets each time you jump to a new slide.
As you are only using a 2 minute timer, you don't actually need a state change of the text box displaying the mins variable to include a leading zero, however I have still included it in case you want to increase your timer above 9 minutes.
If you want to vary the minutes on a particular slide, just add a trigger to the base layer of that slide to reset the mins variable when the timeline starts. For example:
This discussion is closed. You can start a new discussion or contact Articulate Support.