> Tim wrote:
>
> 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
Yes, that had occurred to me, but my explanation was too
simplistic. While it is a Scrabble-esque game with tiles, the
tiles are hexagons and are staggered on the board. (pic--
http://tinyurl.com/jjcqolm)
That still might be calculate-able, but is beyond my math skills!
Thanks,
Tim
On 2017.
If the names of the tiles are numbered in a logical way, and only go
horizontal, and vertical, then all you need to know is the start spot, and
the end spot, and can fill in the gaps between.
On Sat, Mar 11, 2017 at 4:06 PM, Quentin Long via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
sez Tim Selander :
> 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 wor
Although there is one scenario where one has to use Mike's looping
"within"-approach (adjusted to collecting, not exiting the repeat):
If the controls in question (may be all) have some overlapping areas:
controlAtLoc((x,y)) reports only the control at (x,y) with the
highest layer.
> JLG wrote:
>
On 03/11/2017 11:43 AM, Mike Bonner via use-livecode wrote:
Nah. If you type it wrong twice the error cancels out.
Two wrongs don't make a right, but three lefts do.
--Steven Wright
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing l
Nah. If you type it wrong twice the error cancels out.
On Sat, Mar 11, 2017 at 11:10 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> And it works even better when I spell it right. ;-)
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActi
And it works even better when I spell it right. ;-)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 11, 2017 11:54:59 AM Mike Bonner via use-livecode
wrote:
Hey thats awesome! Thanks Jacqueline, a
Hey thats awesome! Thanks Jacqueline, another gem I had yet to discover.
On Sat, Mar 11, 2017 at 9:32 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> You could also try comtrolAtLoc() which would avoid the loop.
>
> --
> Jacqueline Landman Gay | jac...@h
You could also try comtrolAtLoc() which would avoid the loop.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 11, 2017 3:51:04 AM Tim Selander via use-livecode
wrote:
Oh ho!
That does it, Mike. Ma
Oh ho!
That does it, Mike. Many thanks!
Tim
On 2017.03.11, 18:35, Mike Bonner via use-livecode wrote:
accidental send before complete. *sigh*
on mousemove
put 1 & cr & 2 into objectList -- just using control number for the
quick example
if the mouse is down then
repeat for each
accidental send before complete. *sigh*
on mousemove
put 1 & cr & 2 into objectList -- just using control number for the
quick example
if the mouse is down then
repeat for each line tLine in objectList
if within(control tLine,the mouseloc) then
put tLine into tRes
mousemove works. It does appear that "mousecontrol" doesn't fire when the
mouse is down so that is out.
You can also use "within" which is pretty fast.
Have a variable with a list of the objects you wish to check against (or
array, or whatever)
on mousemove
if the mouse is down then
repeat for
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
14 matches
Mail list logo