Jump to content

Phaser.Keyboard keys not registering .onDown events in certain combinations


markergreen
 Share

Recommended Posts

I'm making a game that uses key presses in combination to accomplish specific actions. Some of the puzzles require that you hold all 4 keys down at the same time.

This works fine for the english key specifications (T E A and M) however the french keys N O U and S won't register that they are all pressed at the same time for some reason.

 

 

I've created a jsFiddle to demonstrate this odd issue.
https://jsfiddle.net/s9jd1vxy/10/

 

 

 

Please help!

 

 

Link to comment
Share on other sites

You shouldn't make a game that requires that many simultaneous key presses because there are millions of keyboards out there that suffer from ghosting and can't handle it.

 

From the Phaser.Keyboard documentation:

 

"Be aware that many keyboards are unable to process certain combinations of keys due to hardware limitations known as ghosting. Full details here: http://www.html5gamedevs.com/topic/4876-impossible-to-use-more-than-2-keyboard-input-buttons-at-the-same-time/"
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...