hi guys, how can I stop my sprite ( that has position to mouse cursor) when it touches a object ?
thanks
Develop games in your browser. Powerful, performant & highly capable.
How are you attaching it to the mouse?
In our instances we use an:
Every tick; if(locked==1):
Object.X = Mouse.X; Object.Y = Mouse.Y
then we just set locked = 0 and it stops
like this: position to mouse.x position to mouse.y...
...can u post a capx please ?
https://drive.google.com/open?id=0B-xiq ... U0zUEpCM0U
thanks so much !!!!!!!!!!!!!!!!!