PDA

View Full Version : Multiple Key Handler



PsuFan
February 20th, 2009, 03:06 PM
Hey,

I have found a few multiple key handlers to move the player diagonally. Ive tried them and they work okay but heres what happens: when your pressing two keys and you let go of one, the player stops for a short time, then starts going in the new direction. Has any one figured out why this short pause happens and ways to fix it?

Im using a simple key_down & key_up function that trips booleans of key down.

Thanks