Hi Everyone
We want to use the arrow keys to do something like this:
if ( isKeyDown("left")) {
set Location( getX() - 50, getY() )
}....
The problem is, depending on the game speed slider, the object moves varying amounts. It seems as if the keys are not "debounced"; meaning, it is acting as if the "left" key is being held down multiple times. We want it to just move once 50 pixels to the left for every *strike* of the key.
We've tried an approach using getKey() without success.
How are people accomplishing this?
THANKS!