Game Development Community

Held keys messing things up

by Joe Spataro · in Torque Game Builder · 03/26/2005 (9:34 pm) · 1 replies

When I hold an arrow key down (which moves my character) and I dont let go it messes up other player functions, like jumping, dashing etc.

why doesn't playerMap.pop() negate held keys?

#1
03/26/2005 (9:51 pm)
What exactly are you trying to do? I've had some problems where not releasing keys has caused odd behavior with other keybinds, but that's usually solved with careful if statements or schedules with flags. An example of what you're having trouble with might give us a better idea of how to rectify it.