Popping in the Multi-touch API on the iPad

7 views
Skip to first unread message

Dan Lyke

unread,
Nov 22, 2010, 6:33:46 PM11/22/10
to scripty2
Hi! I was super excited to discover Scripty2 for abstracting multi-
touch stuff. Firefox 3.6.12 on Ubuntu 10.10 with the shift-drag worked
great with the multi-touch demos at http://scripty2.com/demos/touch/ ,
so I fired up the iPad to see how it looked there.

And I got a bunch of popping when the drag starts, like the current
position isn't being taken into account correctly.

With the iPad, on the tests at http://zencocoon.com/scripty2/test/functional/
, the "Pan" test correctly checks the current location of the square
for hit-testing, but pops the square back to the initial position on
drag.

With Firefox, on that same test, the object pops the drag delta
distance at the end of the drag (and doesn't move at all if shift is
held down).

http://scripty2.com/demos/touch/photofun/ exhibits the same pop-back-
to-origin on the iPad, but works correctly on the Firefox/Ubuntu box.

I realize that there are probably also issues with which version of
the library each of those sites is using.

So, if I can get the rest of the "rake" build process started[1], is
this something I should look at? Is someone else already attacking it?
I've never really done JavaScript, so I'm trying to figure out where
and how to start, or whether I should just do this app in C++ for the
various platforms I'm interested in.

Dan
[1] I'm not a Ruby guy, and it's complaining "Don't know how to build
task 'README.rdoc'" when the file is right there.
Reply all
Reply to author
Forward
0 new messages