Thursday, June 5, 2008

Fader - crowd control with easing



View online

Download source

Fader is an API for numerical property crowd control.
What's more? It can apply Flash's built-in easing function, so as to create continuous transition effect of specific properties among objects.

Fader registers every object with a specific "position".
And its FaderPointer specifies the "center position" of transition.
Taking the poitners' positions and objects' positions into account, and easing functions as well, Fader modifies the crowd's properties at once, making a better world :)

Well, I'm not even sure if I conveyed Fader's mechanism clearly enough; just download the source and take a look at the .fla source file, you'll get the idea.




View online

Download source

Here's another test for Fader during its early development stage.
In this example I only had Fader take care of the objects' y property.

No comments: