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 :)
Reset timer block
Moderator: MSandro
Re: Reset timer block
Would you want the timer to get reset when you press the "go" button, as in Scratch?
Re: Reset timer block
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
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
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
TBH its not something I can remember wishing for
Re: Reset timer block
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".