mtkachenko Posted July 6, 2016 Share Posted July 6, 2016 I use chrome. I added move callback for sprite like this game.input.addMoveCallback(function(pointer, x, y) { if(currentTile){ currentTile.x = x; currentTile.y = y; } }); Initially game has setting Phaser.AUTO and it was very slow. Then I found out it's slow in Phaser.WebGL mode and works ok in Phaser.CANVAS. Why? Link to comment Share on other sites More sharing options...
rich Posted July 7, 2016 Share Posted July 7, 2016 Hard to say from that little bit of code. Moving one object around isn't going to make any difference in WebGL or Canvas, so it's something more fundamental going on that can't be figured out as yet. Link to comment Share on other sites More sharing options...
Recommended Posts