Graphics Reference
In-Depth Information
7.
A second later, at 0:03, the car starts driving again and we restart the rotation
sequence with a trigger. This time we swap out stop() for play() so that
the sequence continues at the point where it was last stopped.
The final Timeline should now look like this: (1) The movement of the car is
momentarily stopped, (2) the color of the traffic light glow is shown using a
keyframe that changes at (3), and (4) shows the rotation sequence of the tires
stop and start, respectively.
Figure 4.26
The final Timeline showing the anima-
tion sequence and the trigger points
4.5.4 Character Animation With Sprite Sheets
The last example in this chapter shows you how to use Edge Animate for making
image sequences with sprite sheets, which is a method for creating animated
characters, for instance. Often this technique is used in relation to interactions
in gaming. For this example, we will focus on an animation sequence without
interaction, but the animation created here could easily be used in an interactive
scene as a next step. Sample project 7.5 uses the animation created in this exer-
cise and brings it to life with keyboard commands.
The aim of this example is to create a walking character that enters the screen
from the left, moves to a predefined point where it jumps in the air once, and
then stays standing at the same spot.
4 Project
The files for this example can be
downloaded from http://edgebuch.
simonwidjaja.com
Project Name:
Animation_SpriteSheet
 
Search WWH ::




Custom Search