Thread: Rookie help
View Single Post
  #30   Spotlight this post!  
Unread 21-12-2004, 15:21
doyler doyler is offline
Rookie / Programmer
#0900 (Infinity)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Durham
Posts: 87
doyler is an unknown quantity at this point
Re: Rookie help

Yes, it worked

So 38 is 1 second?
Then why is 2 faster then 20

I understand the variables part (except for the counter which is covered in the below code)

Code:
if (counter < 2) // about half a second in the slow loop for one 60/255 degree turn (2 = 7 seconds, 20=2 minutes)
counter++;
I know counter++ just adds one to the variable counter, but i dont understand how the counter itself works

[edit]
i dont understand your edit fully
[/edit]
__________________

Last edited by doyler : 21-12-2004 at 15:27.