Project-Rekt / engine

Game Engine - Currently on version MASON
https://project-rekt.github.io/engine/index.html
Apache License 2.0
1 stars 3 forks source link

Add a priority to keydown event listening #22

Closed Squishy123 closed 4 years ago

Squishy123 commented 4 years ago

If you press multiple keys with a small delay in between presses, there should be a priority of key pressed.

OneHandKlap commented 4 years ago

Do you mean that keys should be executed according to a priority schema instead of order of pressing?

Squishy123 commented 4 years ago

actually i think this is non-issue since the keydown will catch all button presses and then the flag is set to true on this.input.keys()

closes #22