Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

How can I make an movieclip move in a circular path with GTween? it's straightforward to have something move with various easing effects in a line or a curve, but I would need a complete circular path.

share|improve this question
add comment

1 Answer 1

Most animation libraries aren't made to support that sort of thing. I wrote a small library for exactly this problem; it's built upon a foundation of spatial path-based animation, rather than generic property interpolation.

You can check it out here: http://blog.generalrelativity.org/actionscript-30/grape-animation-library/

If you're required to use GTween, and it supports curves (probably bezier), you can approximate a circle with multiple curves: http://www.tinaja.com/glib/ellipse4.pdf

share|improve this answer
1  
+1 : I might find this library useful, someday –  Vishnu Jul 18 '11 at 7:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.