Author Topic: Timer doesn't start immediately!?  (Read 3625 times)

blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Timer doesn't start immediately!?
« on: July 03, 2012, 11:26:13 AM »
I noticed that, when you start a Time Trial, the timer only shows 1 second after showing "Go!", starting at 0:00 and changing to 0:01 only 1 sec. later. Viridian can move immediately after showing "Go!". Because of that, the scores show 1 sec. less (Example: if you do in 1:30, it says you did it in 1:29). This happens in v.2.0 and (I think so) in v.1.2. Was this made on purpose?

Hilbert

  • Captain
  • *****
  • Posts: 574
  • Yup. This is my name. Not Black, Hilbert.
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #1 on: July 04, 2012, 05:19:59 AM »
If you look a most stopwatches with millisec. counters you have to wait until the millisec. count reaches 100 before a second has passed. therfore 129 should be correct :viridian:
we can lock the thread now.

blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #2 on: July 04, 2012, 07:54:56 AM »
I don't understand your post. Are you saying that stopwatches say 1:28,034 when they should say 1:29,034? Anyway, I'll try to explain better:
Viridian can move in the sec. before the timer appears at 0:00. So, the timer should say 0:01 when it says 0:00, 0:02 when it says 0:01, ... , 1:30 when it says 1:29.

Hilbert

  • Captain
  • *****
  • Posts: 574
  • Yup. This is my name. Not Black, Hilbert.
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #3 on: July 05, 2012, 08:08:32 AM »
Bad at explaining... :D
1 second is 100 milliseconds. When 100 milliseconds have passed, a second has passed.  :viridian:  Can move at 1 millisecond. The timer doesn't show milliseconds, though.



blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #4 on: July 05, 2012, 08:24:50 AM »
I thought 1 sec. were 1000 milliseconds... Were you thinking of a hundredth of a second?
You mean that :viridian: moves 1 pixel in each 0,01 seconds? Anyway, the timer only appears 1 sec. after Viridian starts moving, so while Viridian has moved 1 sec., the timer says 0:00; while Viridian has moved 1,5 sec., the timer says 0:00; while Viridian has moved 3 sec. the timer says 0:02, and if Viridian has moved 2:16,9 sec. the timer says 2:15. In the last examples, consider that Viridian never stopped. The timer says 1 sec. less (or more, since the timer doesn't have tenths of a sec., in the last example it says less 1,9 secs.) than the time it should say.
Perhaps I didn't understand your post, again.

EDIT: Do you mean that Viridian only moves 0,01 sec. after I press the arrow key? In that case, the timer is right when 1:18,00 secs have passed since "Go!" showed, because it will show 1:17 and :viridian: has moved for 1:17,99 secs; but, it's right only when  :viridian: has moved for ... ,99 secs.
« Last Edit: July 05, 2012, 08:39:37 AM by blue626 »

Hilbert

  • Captain
  • *****
  • Posts: 574
  • Yup. This is my name. Not Black, Hilbert.
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #5 on: July 05, 2012, 03:15:42 PM »
Uhh... I give on explaining... ???

blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #6 on: July 05, 2012, 03:21:09 PM »
??? I don't understand your last post.
Do you understand what I said on my last post?

Hilbert

  • Captain
  • *****
  • Posts: 574
  • Yup. This is my name. Not Black, Hilbert.
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #7 on: July 06, 2012, 05:15:56 AM »
No. :D
The timer should include 100ths of a second.

blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #8 on: July 06, 2012, 05:58:13 AM »
I concord. It is a good idea, but perhaps tenths of a sec. is enough.
I hope that someone understands my posts above :verdigris:.

FIQ

  • Captain
  • *****
  • Posts: 810
  • https://github.com/FredrIQ/
    • View Profile
    • FIQ
Re: Timer doesn't start immediately!?
« Reply #9 on: July 06, 2012, 06:42:51 AM »
What blue626 means is that Viridian starts *before* the timer even show 0:00, i.e. he starts at -0:01. Thus, there are 2s, not just 1, before the timer reaches 0:01.

blue626

  • Captain
  • *****
  • Posts: 672
  • I changed my avatar!
    • View Profile
Re: Timer doesn't start immediately!?
« Reply #10 on: July 06, 2012, 10:56:49 AM »
What blue626 means is that Viridian starts *before* the timer even show 0:00, i.e. he starts at -0:01.

Yes, that's what I tried to say.

Thus, there are 2s, not just 1, before the timer reaches 0:01.

??? But, the timer should start at 0:00 (and at the same time as "Go!" appears), shouldn't it?