moock.org is supported in part by


August 31, 2004

AnimationPackage 1.02 released

alex uhlmann has released a new version of animation package, a library of classes for drawing and animating content procedurally.

>> get AnimationPackage here

here's the impressive list of updates:

Sequence.setAnimateMode() and Sequence.setEasingMode() allows to treat child animations as a whole. It allocates the start/end percentage values and/or the easing equation along the whole Sequence. Usefull for animating motion paths via Move, MoveOnQuadCurve and MoveOnCubicCurve.

Sequence.getChild, Sequence.getChildDuration.

MoveOnPath allows to animate an object evenly along a path using Ivan Dembicki's com.sharedfonts.Path. This class emulates motion path tweening from the Flash IDE.

The Animation class combines Sequence and Parallel to allow overlaps of child animations.

Animation classes offer opportunities to set the starting value(s) and end value(s) either via the new setStartValue, setStartValues, setEndValue, setEndValues methods, the run method or the constructor.

Timeline allows to animate existing movieclip timelines.

MoveOnCubicCurve

CubicCurve

The MoveOnCurve class animates an object along a bezier curve with n control points. Usefull for long paths.

The Curve class draws a bezier curve with n control points.

Move.orientToPath and MoveOnQuadCurve.orientToPath can rotate the object towards the line/curve while animating.

QuadCurve, CubicCurve, MoveOnQuadCurve and MoveOnCubicCurve offer ways to specify control points between the start and end points of the curve instead of points on the curve. (useControlPoints method or via parameters)

Volume allows to fade sounds with easing equations.

SingleAnimator allows to animate a single property or method in a more intuitve way than via Animator.

Animator has stop, pause and resume methods.

Trail can attach a trail for infinite length and can remove it explicitly. And it's faster.

Almost all classes that use animations increased in performance because of a faster Animator class.

All classes offer a getID method that returns a unique identifier of the instance. Useful for associative arrays.

All drawing classes offer a clear method to remove all drawings drawn from the instance.

Revised documentation.

Posted by moock at August 31, 2004 12:09 PM