View Full Version : New problem with my game... keyboard control
chickensnack
May 22nd, 2002, 07:04 PM
Now that I have some basic collision detection in the game, I am wondering how i can get the character to rotate and then go forward or reverse using the arrow keys instead of just moving up, down, left, and right. I have tried putting a movie clip where pressing up and down makes it go up and down within the clip and then making the instance rotate if you press left and right, but that didn't work at all. Please help!
upuaut8
May 23rd, 2002, 12:12 AM
a little physics is in order. I'm sure Supra and or Pom will be here soon to talk about this.
The rotation you've already accomplished. You're half way there.
Do you want the character to move in a direction until the key is let up and then stop instantly, or do you want velocity which keeps the object moving until loss of power makes it stop?
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.