> For example if a child pick an elephant and drag it, the
> elephant should leave its footsteps on the sand.
>
> What the best approach to do it?

Felix,

Well, if you have some intermediate experience with Lingo, imaging Lingo
would probably be the best bet.  The way I forsee things, you could have
several "footprint" images in your cast that match up with the different
animals available.  As the animal is dragged over the sand, a handler
could be called every x exitFrames (or a timeOut object could be used).
This handler would then take the proper footprint member and
copyPixels() its image onto the sandbox image at the proper location.
This eliminates the need for having multiple unused sprites cluttering
up your score, or having to manage puppeted sprites all over the place. 

This should give you a good starting point.  If you have any specific
questions once you get into the imaging Lingo, feel free to give a
holler.  Imaging Lingo is IMO one of Director's most powerful features,
and I know many of us on this list can help you through the sticky
points.

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to