Jump to content

v3/v4 Multi touch issues


nuke22
 Share

Recommended Posts

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.

  

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...