Game Development Reference
In-Depth Information
Now you're ready to animate:
1. In the AjaiuKja symbol, select layer 1 in the timeline. (If the timeline is not visible, select
Window ° Timeline .)
2. Select Insert ° Motion Tween . You'll notice that the frames extend to frame 30 and are colored
blue, seen as gray in Figure 8-11.
Figure 8-11. Insert a motion tween.
3. Drag the blue bar that represents the motion tween to frame 180.
4. Select frame 90.
5. Move the oq^K^fa_p object to a new position on the stage. You'll notice two things:
A tiny diamond-shaped dot appears in the timeline. This is called a property keyframe .
Property keyframes are a special type of keyframe that indicates that the t and u (or even
v) position of an object in an animation has changed. Unlike ordinary keyframes, they don't
create new instances of the object. You can add property keyframes simply by highlighting
the frame you want your object to move to and dragging it there with the mouse.
A motion path appears on the stage, which shows the path that the object has taken. You
can actually select this path to bring up the motion path Properties panel, which allows
you to apply some extra options such as rotation or easing . (Easing refers to how gently the
object “eases into” its movement. Play around with it—it's fun!) You can also change
the shape of the motion path so the object takes a curved route to its destination. You can
select a motion path to delete it as well, and when you do so, its associated property key-
frame also disappears.
 
Search Nedrilad ::




Custom Search