Skategame development: animation manager
Flash’s normal timelines are great for tweening movieclip’s positions and rotations etc, but in order to really mix tweened animation and physics (and other code-controlled motion), I needed something that would animate variables.Put together this animation manager yesterday - I give it a big string of data (JSON) or pass it some data objects directly, and it’ll lerp, qerp and blend multiple values between keyframes, toggle flags on and off, do actions on frames and can go into slow motion without going choppy.This GIF is an example / test using a few automated params.

Skategame development: animation manager

Flash’s normal timelines are great for tweening movieclip’s positions and rotations etc, but in order to really mix tweened animation and physics (and other code-controlled motion), I needed something that would animate variables.

Put together this animation manager yesterday - I give it a big string of data (JSON) or pass it some data objects directly, and it’ll lerp, qerp and blend multiple values between keyframes, toggle flags on and off, do actions on frames and can go into slow motion without going choppy.

This GIF is an example / test using a few automated params.