Possible Bug with Keyboard Input

0 favourites
  • 3 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • I'm having a peculiar issue occur with the game I'm making. I'm worried this may be a bug with Construct 3.

    To summarize, in my game, my character can go left or right. I also have an option to give the character a quick 'dash' which increases his speed for about 2 seconds.

    I am finding on random occasions that by clicking the dash and then pressing a direction and attempting to do a quick reverse in another direction the movement will get stuck, and even not pressing any actions for movement the character will stay locked in that movement for some reason.

    For example, walk right, press dash, and then hit left, let go of the keyboard, and the character will continue to walk right.

    I've reviewed my code several times and can't find what would cause this. If there are no keys pressed on the keyboard the character should stop.

    Any help is appreciated...

  • You need to post a screenshot of your code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Which keys are you using? I had some similar problem when using left and right shift. Switched to using left ctrl & right arrow and it was fine.

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