Game Development Reference
In-Depth Information
is centered on a keyframe of a selected node, you can edit this keyframe's
property value on the Item Properties tab. Between two keyframes is the
keyframe segment, which you can right-click to change the easing mode.
Table 5-1 is a list of animatable properties. Note that not all properties are animatable in
all nodes. Whether or not they are depends, for one thing, on the type of the node and
whether that node is the root node of a CCB file. Root nodes cannot be animated at all,
except for Sprite CCB files where you can at least animate the Color, Opacity, and Sprite
Frame properties of the CCSprite root node.
Table 5-1 . Animatable properties, their keyboard shortcut for creating
keyframes, and their availability
Property
Shortcut
Availability
Sprite, Sprite 9 Slice, Label TTF and BM-Font,
Color and Gradient nodes.
Color
C
Sprite, Sprite 9 Slice, Label TTF and BM-Font,
Color and Gradient nodes.
Opacity
O
Position
P
All node types.
Rotation
R
All node types.
Scale
S
All node types.
All node types. Not to be used with physics-en-
abled nodes.
Skew
K
Sprite Frame
F
Sprite and Sprite 9 Slice nodes.
Visible
V
All node types.
Caution At the time of this writing, the Chipmunk physics engine does not
support skewed and scaled nodes. If this still holds true, nodes with physics en-
abled should not animate both the Skew and Scale properties.
Using the Timeline Editor
Search WWH ::




Custom Search