Some notes about Stephen's script: The offset idea is good, especially for larger puzzle pieces.
When check distances you don't need to do the sqrt part. If you want to be ten pixels away, then check for <=100.
I think that dx*dx is faster than Power(dx,2) [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!]
