Change speed with key press -
04-26-2009, 02:03 PM
I have an airplane that changes speed with a "When a key is typed" event. I have set up 5 speeds each getting a little faster. The problem I am having is that I can go from speed 1 to 5 but when I try to reverse the order, nothing happens. I am trying to set up a game where the user can control the speed and turning of the airplane.
Each speed is set up in an infinite loop which I think may be the problem. But, this is the only way I can figure to keep the plane moving until the user changes the speed with a different key stroke.
Last edited by ICS; 04-26-2009 at 02:28 PM.
Reason: adding detail
|