Page 1 of 1
Reset timer block
Posted: Jul 9th, '17, 20:35
by SimpleSi
would be nice as it does save a lot of work with noting value and subtracting it from previous value later to measure durations
And being in milliseconds just adds to the work :)
Re: Reset timer block
Posted: Jul 10th, '17, 09:34
by JohnM
Would you want the timer to get reset when you press the "go" button, as in Scratch?
Re: Reset timer block
Posted: Jul 10th, '17, 13:30
by SimpleSi
Yes please but...
I don't normally use it that way - I reset it at some point in a script and then use the duration for something sometime later.
e.g Green flag/Go would reset a game to initial state and then user would press spacebar to start playing/action - that's the point I'd want to reset the timer
Re: Reset timer block
Posted: Jul 11th, '17, 14:21
by JohnM
So, a "reset timer" block would be nice to have. Do you ever have need for more than one timer in a project?
Re: Reset timer block
Posted: Jul 11th, '17, 14:54
by SimpleSi
TBH its not something I can remember wishing for
Re: Reset timer block
Posted: Aug 3rd, '17, 14:49
by MSandro
But in some situationes it would be helpful to heave multiple timers, maybe you can add a integer (ID) to the timer blocks (get and reset timer value) to select a timer "channel".