English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have the boost method written. I just need to know how to have the speed increase for a set amount of time.

2007-04-27 08:02:56 · 1 answers · asked by majiesto 2 in Computers & Internet Programming & Design

1 answers

Use the expiration of a timer to reset the speed to normal.

When you enter boost you modify the speed variable to allow faster movement and start the timer.

Upon timer expiration you reset your speed variable and disable the timer to prevent it from retriggering.

2007-04-27 09:52:43 · answer #1 · answered by MarkG 7 · 0 0

fedest.com, questions and answers