I need help to do a script that prohibits a character to pass over an object.
This script has to behave as "If on edge, bounce", but with an object.
Thanxs
Offline
To make that work perfectly would unfortunately require a good deal of complex programming. But to make it work roughly you can do something like this:
Make these costumes:
Name this "sprite"
Name this "up"
Name this "down"
Name this "left"
Name this "right"
Now put in this script:
It will bounce when it touches the sprite "object", but will not show any sensor sprites. This will also make sure it does not overlap with sprite "object".
Last edited by Kileymeister (2011-05-12 15:21:36)
Offline