i3Designer Posted May 9, 2015 Share Posted May 9, 2015 I used game.input.activePointer.isDown for my game, but only in IE on Windows Phone i have a little problem, the problem is that while i press the screen, after a few second the input is false, why? CODE in update: if(game.input.activePointer.isDown){ this.sposta(); } function out update: sposta: function(){ if(game.device.desktop){ } else{ if(game.input.x < 280){ //sinistra this.tab.body.rotation += 0.045; } else if(game.input.x > 280){ //destra this.tab.body.rotation -= 0.045; } } }, Link to comment Share on other sites More sharing options...
Recommended Posts