mutter/doc/cookbook
Elliot Smith e8e360eaa7 cookbook: Added a recipe for reusing a complex animation
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.
2010-09-13 14:31:17 +01:00
..
examples cookbook: Simplified and clarified example code 2010-09-13 12:25:47 +01:00
images cookbook: Added recipe for handling pointer events on an actor 2010-08-20 13:56:17 +01:00
videos cookbook: Added a recipe for reusing a complex animation 2010-09-13 14:31:17 +01:00
actors.xml cookbook: Added recipe for non-rectangular actor 2010-08-10 11:08:05 +01:00
animations.xml cookbook: Added a recipe for reusing a complex animation 2010-09-13 14:31:17 +01:00
clutter-cookbook.xml.in cookbook: Added skeleton for script chapter of cookbook 2010-08-27 11:21:30 +01:00
events.xml cookbook: Use the new CLUTTER_KEY_* symbol constants 2010-09-10 18:21:45 +01:00
introduction.xml cookbook: Split the cookbook chapters 2010-07-01 12:19:17 +01:00
layouts.xml cookbook: Added layout introduction and "stacking actors" recipe 2010-08-09 16:25:48 +01:00
Makefile.am cookbook: Added a recipe for reusing a complex animation 2010-09-13 14:31:17 +01:00
recipe-template.xml cookbook: Split the cookbook chapters 2010-07-01 12:19:17 +01:00
script.xml cookbook: Added recipe for signal handling in ClutterScript 2010-08-31 14:39:47 +01:00
text.xml cookbook: Add a short introduction for the Text chapter 2010-09-03 15:44:03 +01:00
textures.xml Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
version.xml.in