The Keyboard Mapping example needs to be updated

0 favourites
  • 1 posts
From the Asset Store
A template which allows you to customise the controls of your game.
  • While going through the included Construct 3 example projects for fun recently. I discovered a 3rd party example called "Keyboard Mapping". To get straight to the point. I think it should be reworked because it's not very accurate.

    Issues:

    • Doesn't take into account the side of a key (e.g. CTRL, ALT, SHIFT and META)
    • Doesn't store/return the correct typed key (e.g. "ä, ö, ü" or similar keys)

    Dealing with keyboard inputs is quite a challenge in general since there is no easy way to return the keycode from a typed key but there are ways these issues could be solved in an update. Here are suggestions on how I did it personally.

    Update suggestions:

    • Store keycodes and typed keys together (Example: "222;Ä")
    • Use typed key visually and keycode mechanically
    • Manually detect and store special key sides (Example: "L-17;Left Control")

    As a side note. Big thanks to Viridino Studios for providing these examples!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)