tracking the finger (mouse)

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cwkalish
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Thu Sep 30, 2010 2:24 am

tracking the finger (mouse)

Post by cwkalish » Wed Nov 13, 2013 11:49 pm

what is the best way to track the movement of a dragging finger? I've been using mousemove messages, which work fine on my mac and in the simulator, but are very slow on the ipad. (OK, I have an ipad 2, but shouldn't be THAT slow).

There is considerable lag in between receipt of mousemove messages, such that actions do not follow the dragging finger very closely. Is there some other way to track motion more effectively?

Thanks for any tips.

_Chuck

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: tracking the finger (mouse)

Post by Mark » Thu Nov 14, 2013 12:13 am

Hi Chuck,

I use the mouseMove handler. It works fine on my rather slow Android tablet. Here's a stack with all the scripts. You can use the stack to write your signature with your finger or to just do some finger painting.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Games”