The key is not to check for intersecting with the under-path-sprite, the key is to check for when it doesn't intersect with the path sprite. As for checking for that, if you're using images with alpha channels, you can use the matte ink with alphaThreshold at 0 to check for alpha channel intersecting (instead of rect intersecting). But that doesn't help you on the partial overlap...
Charlie Fiskeaux II Media Designer The Creative Group http://www.cre8tivegroup.com 859/858-9054x29 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Nadel Sent: Friday, April 12, 2002 9:03 AM To: [EMAIL PROTECTED] Subject: <lingo-l> intersecting problem I have a boy that walks down a path (using the keyboard). The path is broken into parts that move up and down. The object of the game is for the boy to stay on the path and not go off of it. The problem is that I want to check if the boy strays off the path by checking if the boy intersects the sprite UNDERNEATH the path (when the path moves up or down). The problem is that Director thinks that the boy is intersecting the sprite underneath the path, even when the boy is ON the path. This is because the rect of the boy intersects both the path and the sprite underneath it. How can I check if the boy intersects the sprite underneath the path - ONLY when he is OFF of the path (or partly off the path)??? Thanks so much! Michael Nadel [EMAIL PROTECTED] Mediart - Multimedia as an Art Form [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!] [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!]
