Xellpher Posted April 22, 2016 Share Posted April 22, 2016 I ran into a strange problem: when using phaser.min.js, onTap doesn't seem to fire. It works with phaser.js though. I'm using a very minimal example to test it: var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { create: create }); function create() { game.input.onTap.add(function onTap(pointer) { console.log("tap")} , this); } I'm using the developer tools in Firefox and Chrome to see what's written to the console. When using paser.js I get all "tap" message, when using phaser.min.js I get nothing. Is this a bug or am I missing someting? Link to comment Share on other sites More sharing options...
Nam Le Hoai Posted May 11, 2016 Share Posted May 11, 2016 I had the same problem. After downloading phaser.min.js 2.4.7 and changing the localhost port, the problem was fixed. Good luck. Link to comment Share on other sites More sharing options...
Recommended Posts