Game Development Reference
In-Depth Information
player : The player is saw blade looking object (see Figure 1-4). It is a static asset, but
we will rotate it in code to make it look like it is spinning. We have centered the graphic
for the player inside the MovieClip so that it when it rotates it will look like it is spinning
from the center.
Figure 1-4. The player MovieClip
back() : We will supply a 550 400 vector background to the screen as a background
(see Figure 1-5). We use a background image for two reasons: First, the background
color you set in the Flash IDE can be altered by the Flash <embed> , which in some cases
can mess up your game, especially on viral web sites that are not careful with how they
post your game. Second, a background image is more flexible and can be used for
ambient animations and other special effects.
Figure 1-5. The back MovieClip
Sounds
We use only one sound in this game. The sound is named pop in the library, and it makes a
standard popping noise. Users will hear this when the saw blade hits a balloon.
Search WWH ::




Custom Search