phamedev Posted October 3, 2017 Share Posted October 3, 2017 Generally when you click or tap a button on mobile devices and then don't do mouse-up or lift touch on the same button and do it elsewhere the action is cancelled. But the Phaser buttons don't behave like that. Do the mouse-down on the button, drag and do the mouse-up outside the button, the button-click is still triggered. Is there a way to fix/change that behaviour? PS: I just tested that when you use the event.onInputUp on sprite etc, it is still fired when the onInputUp happens outside the object. Link to comment Share on other sites More sharing options...
samme Posted October 3, 2017 Share Posted October 3, 2017 See callback arguments in https://photonstorm.github.io/phaser-ce/Phaser.Button.html. Link to comment Share on other sites More sharing options...
phamedev Posted October 3, 2017 Author Share Posted October 3, 2017 5 minutes ago, samme said: See callback arguments in https://photonstorm.github.io/phaser-ce/Phaser.Button.html. Thanks for the link. Really helpful and I didn't know it existed. Link to comment Share on other sites More sharing options...
samme Posted October 5, 2017 Share Posted October 5, 2017 How can we help more people find the docs? Link to comment Share on other sites More sharing options...
phamedev Posted October 7, 2017 Author Share Posted October 7, 2017 On 10/5/2017 at 9:38 PM, samme said: How can we help more people find the docs? I think you guys are doing a great job already. It's just people like me coming from different backgrounds with old habits sometimes look at wrong places. Link to comment Share on other sites More sharing options...
Recommended Posts