Multiple keydown not detected

Hi guys,

I made a simple keydown detection check.

In my case I use Left, Right, Up, Down, and Space bar, simulating a 2D game’s spaceship movement and bullet firing.

I found that not all the triplets (Left+Up+Space, Right+Up+Space, etc.) are working, but I can’t figure out why.

Here is a working example:

[https://codepen.io/szabo_sandor_istvan/pen/XWJJxqv]

Can you help me with this?

Thanks!

I believe thats a keyboard limitation and not a phaser limitation - https://gaming.stackexchange.com/questions/6669/how-do-i-remove-the-limit-on-pc-keyboard-button-presses

2 Likes

@snowbillr thanks for the answere, this might be the problem indeed.

I thought the same, that this is a hardware limitation.

Cheap keyboards duh… :slight_smile: