This is much definitely a lot more concise than what I did and cleared up
a couple of problems I had. The only thing I'm stuck using Dir5 and it
doesn't have a mouseLoc handler. Is there a way to emulate it?
I am a deaf ed. teacher and am trying to do game that incoporate sign
language.
In this came I take a kids picture and cut it up into 12 squares, 160 by
160 pixels.
When a square is clicked on and the mouse held down the square can be
moved to another square. On mouse up the 2 squares swap places. when all
the puzzles pieces are in the right place a quickTime video signs the kids
name.
Thanks again for the help!
Colin Holgate wrote:
> >on mouseDown
> > set clickedSprite = the clickOn
> > set theMem = the member of sprite clickedSprite
> > set the member of sprite 48 = theMem
> > set the member of sprite clickedSprite = "dummy"
> > repeat while the stillDown
> > set the loc of sprite 48 to the mouseLoc
> > updateStage
> > end repeat
> > set the loc of sprite clickedSprite = the mouseLoc
> > set the member of sprite 48 = member "dummy"
> > set the member of sprite clickedSprite = theMem
> >end
>
> Mark's routine is almost the same as mine:
>
> on mousedown
> set the member of sprite 48 to the member of sprite the clickon
> set the loc of sprite 48 to the loc of sprite the clickon
> set the loc of sprite the clickon to point(10000,10000)
> repeat while the mousedown
> set the loc of sprite 48 to point(the mouseh,the mousev)
> updatestage
> end repeat
> puppetsprite the clickon,true
> set the loc of sprite the clickon to the loc of sprite 48
> set the loc of sprite 48 to point(10000,10000)
> end
>
> only he opted for changing the member. He also forget a couple of the
> things I pointed out! The mouseloc didn't appear until D7, and
> auto-puppeting didn't appear until D6.
>
> One strange thing is that I sent my message last night (Thursday),
> right after the original post. Not sure why it hasn't appeared yet,
> or how long this one will take.
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]