79170562

Date: 2024-11-08 15:13:07
Score: 0.5
Natty:
Report link

As of at least Phaser v3.86.0 it is now like this (using a dash instead of an underscore):

create() {
    // ...
    this.input.keyboard.on('keydown-W', this.yourFunction, this);
    // ...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1160006