nuke22 Posted April 5, 2016 Share Posted April 5, 2016 Hi, I've been using PIXI for a while now - but I've hit an issue with multi touch control in v3 (and looks like it may also apply to v4)? The older bunny drag demo here will allow you to drag 2 bunnies simultaneously on a touch screen: http://www.goodboydigital.com/pixijs/examples/8/ However, a more recent demo here does not: http://pixijs.github.io/examples/index.html?s=demos&f=dragging.js&title=Dragging Does anyone know if there's a working v3 example of multi touch / multi dragging available anywhere? Specifically the problem I'm finding is that if I apply either .touchmove or .touchendoutside to 2 different containers, these events seem to get called for both. So touch container 1, touch container 2. Move finger over container 1, and touchmove gets fired on both. Release finger outside container 1, touchendoutside gets fired on both. Any help/advice much appreciated. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 5, 2016 Share Posted April 5, 2016 Well, there's that PR: https://github.com/pixijs/pixi.js/pull/2415 Test it and improve it to cover your case Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.