I want to know of a way to make a sprite collide with an object (I.e. If it moves into it, it will sttop) I know this is possible because I have done it before but that scratch file is long gone. So yeah, a collision script which doesn't vibrate in and out of the object.
Sorry friends briefness, Im on my phone.
Last edited by BlackEdge (2012-02-17 20:47:16)
Offline
(link to project) This is my version how to do that. This basically uses a ghost to sense if there is a wall or edge to get rid of the glitchy vibrations. It sends out a broadcast for the visable player to move if the space is clear.
Offline
when gf clicked go to x:(0) y:(0) forever if <touching [object v]?> stop script end point towards [mouse-pointer v] move (10) stepsOr do you mean colliding into walls?
Offline