Phaser game.input.onUp event firing twice!

Yesterday I was making a game for an online course I’m writing. The game has a flying cat and when you click anywhere on the canvas the cat will change position. This is the line of code I was using: game.input.onUp.add(this.changePos, this); The game was working fine on desktop mode, but when I changed to …

Phaser game.input.onUp event firing twice! Read More »