[Tweener] Create lookup table w/Tweener?

Zeh Fernando zeh at zehfernando.com
Mon Feb 8 06:53:20 PST 2010


The actual implementation will depend on what your requirements are, but for
that sort of purpose, where no actual animation control is involved, I'd
suggest ditching the tweening engine altogether and using the easing
equations directly. Have a look at tweener's Equations.as class, or just
look up Robert Penner's easing equations. They're simple functions that you
feed starting and changing values as parameters, and get the resulting
'eased' value in return. So it's just a matter of wrapping your values with
the function you want.

Zeh

On Mon, Feb 8, 2010 at 9:41 AM, Mitch Rosefelt
<PixelDroid at thepixelfarm.com>wrote:

> I have an app where I need to bias the motion of one object based on the
> motion of a different object - a timeline slider.
> I use the % of the "driver object's" full range to position the "driven"
> object.
> The driver is positioned w/the mouse, so I need to lookup the value on the
> fly.
> Is it possible to use tweener to create a lookup table so I can bias the %
> of the driver's motion w/an easing function?
> Thanks.
> Mitch
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20100208/7acc2e5b/attachment.htm>


More information about the Tweener mailing list