Shift key messes with 8 direction movement

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • EDIT - SOLVED: My keyboard has an error registering keypresses alongside shift+up

    Hi.

    Im trying to create a sprint ability using 8 direction movement by increasing the maxspeed when shift is down, however I think I've discovered a conflict with the shift key and up arrow during this event.

    Trying to sprint upwards with shift down ignores the left and right keys until either the up arrow or shift is released. This means I can't move right or left until released and diagonally upwards at all.

    I retried with wasd & shift and it works fine, and I tried it with arrow keys & the F key and it also works fine. So it seems like there's some conflict specifically between shift and up arrow when it comes to 8 directional movement.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That's likely your keyboard. Try this test:

    mechanical-keyboard.org/key-rollover-test

  • That's likely your keyboard. Try this test:

    https://www.mechanical-keyboard.org/key-rollover-test/

    Hey wow you're right. Seems this keyboard can register 6-9 keypresses correctly, but has a conflict with shift+up for whatever reason. Tested it on another keyboard and it works just fine.

    Thanks for the help!

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)