ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 752 forks source link

Multi Touch at exact same time #193

Open ryanholoubek opened 11 years ago

ryanholoubek commented 11 years ago

I am including a link to a htm5canvasturtorials example that they have provided. It is the multi touch scaling example.

http://www.html5canvastutorials.com/labs/html5-canvas-multi-touch-scale-shape-with-kineticjs/

The issue on this example happens for me on my IOS device (iPad).

-But if you pull up this example and touch the triangle with both fingers at the exact same. I usually touch the white space and the triangle at the exact same time. The first time it works resizing.

-On the square I do the exact same thing but on the other side. One finger on the square and the other finger on the white space. But you have to make sure you made contact with the device at the exact same time. And the resize after touching with both finger

-At this point you need to alternating between the Triangle and the Square resizing back and forth and making sure you finger always touch at the exact same time on contactwel

-When the issue occurs it will actually resize the other object then the one you are currently touching.

I believe there is an issue with when you do multitouch that it doesn't recognize that has touch a specific object when going back and forth. I originally found this issue in an app I was developing.

yumyam commented 11 years ago

I'm having very similar issues here: http://jsfiddle.net/SWj9m/

(must be on ipad) and click and hold on one circle, and then click and hold another circle at the same time, the touchend event never gets called and you're screwed. If the touch isn't just a mere 'tap' then it seems kinetic js goes whack.

atomictag commented 11 years ago

I have shared a small experiment I did on Kinetic + Multi Touch here. Have a look - perhaps it can help

ericdrowell commented 11 years ago

This will hopefully be addressed soon. I plan to eventually support multi touch in KineticJS, which should resolve issues like this.

dvsmaximaa commented 10 years ago

hi

Any one know how to get finger count in touch devices.. Before i get finger count using "event.touches.length" but now in updated version its not working. please help me its very critical for me.

thanks.

steffimueller commented 10 years ago

I multi touch working now with kineticjs?

lavrton commented 10 years ago

Not yet. @ericdrowell I think this feature must be with highest priority after FastLayer.