What about constraining the movement of an object to a specific path or
area?

Say you want to create an object (a truck) that moves "x" distance in
response to an button or arrow key being pressed.

The object needs to remain only in the screen areas that allow movement
(either in specific areas *or* on a specific path) and not move if the
movement would the object out of the OK area.

This is for a little kids truck driving game I'm trying to build for my four
year old.

Any help appreciated.

David

PS. I just thought of something. Could the solution be to place invisible
buttons on the screen (grid) that do not permit other objects to occupy the
same space???

-----------------------------

David Janik-Jones | RKD, Inc.

853 Alma Street | Palo Alto, CA 94301
650.324.1355 x13 | Fax 650.324.2968
[EMAIL PROTECTED] | www.rkdinc.com

Reply via email to