dragging actors

happyhathappyhat Member Posts: 49
edited May 2012 in Working with GS (Mac)
Hi - can anyone help?

I have 3 interchangeable actors which i want to be able to drag to a set of coordinates for a few secs.
however if they are dragged off they need to go back to their original places

so far i have:

when actor overlaps with new home

interpolate
self.Position.X to: coordinates for 3 secs
self.Position.Y to: coordinates for 3 secs
otherwise
timer 3 secs
interpolate
self.position.x to orignal coordinates
self.position.y to original coordinates

It doesn't seem to work very smoothly - is there a better way to do this?

Answers

Sign In or Register to comment.