PDA

View Full Version : Smooth Movement


Azerilli1
11-21-2005, 03:25 PM
I've been working on a game. I have events that move the tank one meter at a time, with jerkey animation. It move and stops, and you have to press the key again to make the tank move another meter. How do I make things run smoothly? Like, move whilethe Key is pressed. As long as the key is pressed, the tank would move. How do I do that:confused:

EdLaFave
11-21-2005, 06:14 PM
Create a new event for when a key is pressed. Right click the event and you can change it to while a key is pressed. Then for the during part of the code just put Tank.MoveAtSpeed(1 m/s). That should work.

kingsamses
11-23-2005, 04:49 PM
You could try using the event "Let the arrow keys move <subject>".