Simple Simon Discussion > Speed 

How would I slow down the movement between the buttons?

April 22, 2008 | Registered CommenterRob

Change the tickPerLight from 45 to a smaller number?

April 27, 2008 | Unregistered CommenterShawn

Pretty sure that number is in Milliseconds, I would personally increase that number =D. 1000 milliseconds is 1 second long, that should suffice =D.

April 27, 2008 | Unregistered CommenterJDog

As JDog says, increase the number for ticksPerLight to a higher value, not to 1000 though :)

May 2, 2008 | Unregistered CommenterTomas

Ok, less than 1000 but greater than 45 !

May 2, 2008 | Unregistered CommenterJDog

Update is called 60 times a second. Each time Update is called the tickCount is increased by one. When it reaches the value of ticksPerLight the program moves on to the next button.

Two ways to make the buttons go slower, change the rate at which Update is called (a bit dodgy) or change the limit the counter has to reach. To make the buttons update once a second, just make ticksPerLight 60. The bigger the value, the slower the buttons update.

Actually, the Update clock is pretty good. I've used it to make quite accurate clocks.

May 9, 2008 | Registered CommenterRob