Reset timer (Actually resetable timer based on tick count)

JOELwindows7 - Custom level - Jan 21, 2016 from Android
Play Edit 6 players liked this.

Wow! A resetable timer... Yeah, uhh
Actually when you want to have timer reset. There's a paradigm that the 'count' predefined variable can't be zeroed.
E.g:
Timer = Timer+1/128
If trigger>.5 then Timer = 0 end
Means you can have reset only in the conventional technic above. Now in direct technic, you can.

How:
F - Reset timer

I simply set the calibration value as the substraction amount. If the trigger is pressed, it set the calibration variable to that count. So then the offseted = count - calibration. Same count and calibration equals to 0, when the trigger is no longer pressed, the calibration stays there while the count is keep going however it is. Resulting the reset effect is real and remember above: you cannot reset count variable to zero. So count is only minused by the calibration for that offset variable while the real count is still going up.

As I said before, using this method solves the X,XX999999999 problem occurs in the conventional method. This newer that based on count (real time tick) variable is ideal source of clock material. Or else, someone may have alternative patch where it is basically conventional method but instead 'tick=tick+1' and 'clocks=tick/128', hmmmm...

Anyway that was Pretty amazing huh? Hope you guys enjoyed it,
Please comment rate and Subscribe!

Downloads: 72 - Level ID: 20419