joe2movies Posted June 21, 2017 Share Posted June 21, 2017 I'm not sure if it is the phaser 2.4.2 having issues with multitouch. I have 3 buttons left, right and jump. if i click right my sprite character runs right and left it runs left. if i press the right or left button and the jump at the same time it doesn't jump. Also when i touch the jump button and i touch the left or right button the character doesn't move left or right while in the air. But if i don't have the jump touch button pressed and i press the right or left button while in the air it works. Link to comment Share on other sites More sharing options...
ncil Posted June 21, 2017 Share Posted June 21, 2017 Hi! Could you post the relevant parts of your code so we can take a look? Link to comment Share on other sites More sharing options...
FlashyGoblin Posted June 21, 2017 Share Posted June 21, 2017 Try setting the maxPointers for the amount you need. game.input.maxPointers = 3; I also had success with calling the addPointer method multiple times. game.input.addPointer(); game.input.addPointer(); game.input.addPointer(); Link to comment Share on other sites More sharing options...
joe2movies Posted June 22, 2017 Author Share Posted June 22, 2017 thanks flashyGoblin adding game.input.maxPointers = 3; worked. I checked initially maxPointers = 1 thanks FlashyGoblin 1 Link to comment Share on other sites More sharing options...
Recommended Posts