Page 2 of 2
Re: Converting from ticks or milliseconds...
Posted: Wed Feb 19, 2014 6:07 pm
by Mag
Hi Paul,
Thinking a bit better about it, since I have also to manage the interface, maybe it's better not to burden too much the scrip with hundredths. Ultimately I do not think it would be very reliable.
To do a countdown, as you advise me to do the script?
Re: Converting from ticks or milliseconds...
Posted: Thu Feb 20, 2014 4:24 am
by paulsr
I think you probably also have to consider the human interface ... in other words, can a human react within a hundredth of a second to stop/start your timer?
Just a thought...
--paul
Re: Converting from ticks or milliseconds...
Posted: Thu Feb 20, 2014 9:45 pm
by Mag
paulsr wrote:I think you probably also have to consider the human interface ... in other words, can a human react within a hundredth of a second to stop/start your timer?
Just a thought...
--paul
I Paul, yes, absolutely true. It remains only the case in which someone would record the screen with a video camera.
Re: Converting from ticks or milliseconds...
Posted: Thu Jul 10, 2014 8:13 pm
by Einherjar
Sorry to drag up an old post guys, but I have a question / request regarding timers - all of my attempts end up with me falling into a rather uncomfortable ctrl+alt+del loop.
I'm basically trying to create some sort of game play where a number pops up on screen, say "3" and you have to press a button to start the timer and then press it again to stop the timer as close to the number as possible.
From there, I would like to find the difference between the numbers and display the 'score'. The score would be the 'TimeRemaining' - the 'Difference' - once the player is reduced down to TimeRemaining => 0 the game ends.
I would like this to be as accurate as possible, so I'm thinking milliseconds.
Any help would be much appreciated as I have used the code found in the first page of this thread but it isn't as accurate as I would like.
Thanks.