Fran_ideasOrange Posted June 1, 2017 Share Posted June 1, 2017 Hey i'm new in Phaser and I need to change something in my code I have this game.input.onDown.add(this.spin, this); and i need to execute the spin function but when i press Enter key or any other key. How can i do that? Link to comment Share on other sites More sharing options...
Recommended Posts