mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 12:20:47 -05:00
e8e360eaa7
This recipe explains how to "reuse" the same animation definition for different actors, by creating a new instance of a "rig" (empty container) and animation for the rig each time the animation is required. An actor is then re-parented to the rig and animated using it, rather than being animated directly. JSON is used to define the rig + animator, to make creating new instances of them simpler. The recipe also discusses various caveats around using this approach, rather than directly animating an actor. |
||
---|---|---|
.. | ||
animations-complex.ogv | ||
animations-fading-in-then-out.ogv | ||
animations-fading-out.ogv | ||
animations-reuse.ogv | ||
animations-rotating-container-reverses-direction.ogv | ||
animations-rotating-x-centered.ogv | ||
animations-rotating-x-minus-45.ogv | ||
animations-rotating-x-minus-180-with-y-minus-96.ogv | ||
animations-rotating-x-minus-180-with-z-minus-96.ogv | ||
animations-rotating-y-45.ogv | ||
animations-rotating-y-centered.ogv | ||
animations-rotating-z-90.ogv | ||
animations-rotating-z-centered.ogv | ||
events-mouse-scroll.ogv | ||
README | ||
textures-crossfade-two-textures.ogv | ||
textures-split-go.ogv |
Put videos for inclusion in cookbook (Ogg Theora, preferably) here.