Countdown Timer display
SanoRock
Member Posts: 13
I was wondering is there a way to change the timer display to look different. I want to do a timer for 3 minutes. Right now I can only get it to display if I put it in as 180 seconds. So it counts down from 180 seconds. I would like it to looke like this 3:00 and start to count down.
Best Answer
-
The_Gamesalad_Guru Posts: 9,922
@SanoRock said:
I have the timer from the file. How do I stop the timer from automatically starting. It starts as soon as you get to the scene.Wrap it in a rule. Rules control when code starts to execute.
Answers
Hi @SanoRock can you post your rules?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Rule
when Pressed
if
game.Game Timer = 0
do
Change Attribute
game.Game Timer to 180
Rule
if
game.Game Timer > 0
do
Timer
Every 1 second
Change attribute
game.Game Timer to game.Game Timer -1
Hi @SanOrck here's an amended file from another member giving you the principle for making minutes and seconds as countdown. Hope it helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Do I need gamesalad pro to open this file? Saids I need the latest version but when I check for updates it saids I have the latest version.
Nevermind was able to get it. Thanks hopefully this will help.
I have the timer from the file. How do I stop the timer from automatically starting. It starts as soon as you get to the scene.