|
| Wile_E_Coyote |
Post
#1
|
|
Member Group: Members Posts: 13 Joined: 20-February 07 From: Amsterdam Member No.: 824 |
When
using the PositionInterpolator, wouldn't it be easier to besides
entering the amount of frames you want an transformation to take, also
enter how many frames from now you want this animation to start?
That way you can build shedules where animations are chained together, instead of having to wait for the onEndEvent every time, and make a new PositionInterpolator? Or did I miss some nice feature Sandy has already? it would look kind of like this then: schedule = new InterpolatorShedule(); schedule.add(new PositionInterpolator(easing.create(), 0, 15, cam.getPosition(), new Vector(0, 0, 0))); schedule.add(new PositionInterpolator(easing.create(), 15, 30, cam.getPosition(), new Vector(30, 30, 30))); schedule.add(new PositionInterpolator(easing.create(), 45, 150, cam.getPosition(), new Vector(40, 70, 90))); shedule.execute(); Kindest regards, Sander [at]Flashfabriek.nl |
| kiroukou |
Post
#2
|
|
Administrator Group: Root Admin Posts: 865 Joined: 12-June 06 Member No.: 1 |
Hi,
Yes Sandy 1.2 (quite stable now, on the SVN see FAQ) has a Sequence3D class that allows to do this (IMG:style_emoticons/default/smile.gif) ++ |
| zeusprod |
Post
#3
|
|
Advanced Member Group: Members Posts: 212 Joined: 14-February 07 Member No.: 801 |
Hi, Yes Sandy 1.2 (quite stable now, on the SVN see FAQ) has a Sequence3D class that allows to do this (IMG:style_emoticons/default/smile.gif) ++ It is even mentioned here: http://www.flashsandy.org/changes_1_2 |
| Wile_E_Coyote |
Post
#4
|
|
Member Group: Members Posts: 13 Joined: 20-February 07 From: Amsterdam Member No.: 824 |
Time for me to go DoH I guess..... |
| Lo-Fi Version | Time is now: 18th July 2007 - 04:45 PM |