
-----------------------------------
montesser
Wed Nov 17, 2010 9:33 am

Programmed CountDown Timer ???
-----------------------------------
What is it you are trying to achieve?
Looking to make a timer (Boxed or un boxed), to be able to have it seem like a system launch of a space ship, 


What is the problem you are having?
Im new to turing and am still learning, So far i have tried the decreasing count code, just wondering if there is a way to make an program box for just the countdown and to make it change 1 number at a time not just show them all in a straight or vertical line


Describe what you have tried to solve this problem
Ive only tried different modes with the decreasing count. Please help if you are able to.





for decreasing count : 5 .. 1
    put count : 5



Please specify what version of Turing you are using
Turing 4.0.4c

-----------------------------------
TokenHerbz
Wed Nov 17, 2010 12:49 pm

RE:Programmed CountDown Timer ???
-----------------------------------
you could draw a box around it, try using Draw.FillThickBox (x,y,x+size,y+size,color), and also try adding in a delay (150) or so, right after the put.  should be what your looking for.

-----------------------------------
montesser
Tue Nov 23, 2010 2:18 pm

Re: Programmed CountDown Timer ???
-----------------------------------
Thank you kindly, it wasn't quite what i was trying for, but it works great, Thank you again


+ 5 Bits (sorry dont have much, and still lots of help needed)

-----------------------------------
TokenHerbz
Tue Nov 23, 2010 3:50 pm

RE:Programmed CountDown Timer ???
-----------------------------------
did you mean more like this?
[code]
for decreasing count : 5 .. 1
    put count : 5
    delay (500)
end for
[/code]  

or something more like:
[code]
for decreasing count : 5 .. 1
    put "T MINUS: ", count
    delay (500)
    cls
end for
put "BLAST OFF!"
[/code]

of maybe something more user interactive? we could put this as a function :)  well let me know!!   thx for bits

-----------------------------------
ecookman
Tue Nov 23, 2010 4:17 pm

RE:Programmed CountDown Timer ???
-----------------------------------
if you look up my count down timer, it counts down from a date, if you want you could have a user enter that date and time.
