X Library Forums
You are not logged in.
I'm using xAnimation.line to move an element to a new point on the screen. Its working fine. What I now need to do is to move the element to a number of different points with a specified pause at each point. Unfortunately the only way I've come close to doing it is by creating multiple objects - its a bit of a mess.
Is there a way to use one object and pass a series of points to it (rather than just one)?
Andrew
Offline
Hi Andrew, Welcome to the forums!
I put together (very quickly) a demo which shows one of the many ways that this could be done. As you'll see, the "pause" is just another animation where the target position is the element's current position - LOL. I'll be thinking about improving this.
xAnimation Sequence Experiment
Thanks! ![]()
Offline
Thanks Mike, It was just what I was after.
Andrew
Offline