Messages sent while mouse is down?
Tim Selander
selander at tkf.att.ne.jp
Sat Mar 11 03:02:14 EST 2017
I miss the Zynga "Pathwords" game on Facebook, so for my own
amusement I'm trying to recreate it in Livecode.
For those who don't know the game, it had a solid screenful of
Scrabble-like lettered tiles. Click and drag the mouse through
adjacent letters to make words.
Without clicking, simply moving the mouse through the tiles
(fields) triggers mouseenter, mouseleave, etc. which makes it
easy to pick up the letters.
But when the mouse is down, it seems mouseloc() is the only thing
I can get. Using a variable what has all the field rectangles, I
can use the mouseloc() to ultimately identify the field under the
pointer, but it's too slow...
Does a moving mouse with the button down trigger any other
messages besides mouseloc()?
Thanks,
Tim Selander
Tokyo, Japan
More information about the use-livecode
mailing list