Hello. I am trying to figur out the best way to display a counter that counts down from 10 minutes (10:00, 9:59, etc...). So far I have used
on begin sprite me
start timer
but how can I have the time displayed in a text window?
Read up on the functions framesToHMS() and HMStoFrames(). With those you could have a simple counter (which could be the timer you're using now) and convert it to a readable form:
on exitframe
member("time display").text = framesToHMS(the timer,60,false,false)
go the frame
end
on beginsprite
starttimer
end
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
