PDA

View Full Version : Shape tweening with code


FFighter
01-31-2006, 07:00 PM
I´m making a window for my new project and the design team wants it to have some pretty cool (not to say complex) tweens. I´m making it a component so it can be reused easily through the project. The window extends UIComponent and I´m using Fuse 1.1+ZigoEngine for all the animation (I only use Flash IDE to draw some art, everything else is compiled with MTASC).

I wonder how could I do a shape tweening like the one shown in the attached image... I guess I would have to use the drawing API with some trigonometry math? If then, I would really appreciate some help!

Thanks.

FFighter
02-01-2006, 07:23 PM
Well, since no one replied, I had to do everything myself and I´m happy to say that I managed to program the desired effect. Now, I would be so greateful if more experienced developers could download it and maybe tell me ways in which I could improve it?

http://chapeco-online.com.br/charaWindow.rar

Thanks in advance,

- Marcelo.