Ross Posted March 6, 2014 Share Posted March 6, 2014 I'm having a problem with multitouch on a tablet. I'm just getting started with Phaser and I am creating a joystick and button pad for game control. I have two samples below, one is a simple test of the joystick (left hand control) the other is a more complex test with an actual character being controlled by the joystick. The multitouch works fine for the simple test, but I can only get one pointer to work with the more complex test and I can't seem to be able to track down the problem. I appreciate any help. If there is any other info I can supply, please let me know. Simple test (multitouch works) http://www.nonsensegames.com/controls/index.html Complex test (only one pointer works) http://www.nonsensegames.com/test/index.html I've also attached the code for the complex test (it's still in the rough'ed out stage of coding, which may actually be the problem) Thanks again,Ross game.js.zip Link to comment Share on other sites More sharing options...
Ross Posted March 7, 2014 Author Share Posted March 7, 2014 Ok, found it…. Problem was me not understanding all the code I was coping and using. I'm thinking the line of code below is the problem. this.game.input.maxPointers = 1; Ross quiphop 1 Link to comment Share on other sites More sharing options...
Recommended Posts