Game Development Reference
In-Depth Information
Here are the steps for creating the ajaiuKja object (the steps for creating ajaiuPsk are exactly the
same except for the names):
1. Create a new Movie Clip symbol called AjaiuKja[Oq^K^fa_p. Design the enemy any way you
like.
2. Design a health meter inside AjaiuKja[Oq^K^fa_p. A long rectangle without a border works
just fine. Convert it to a Movie Clip symbol and give it the instance name iapan.
3. Create a new Movie Clip symbol called AjaiuKja. Drag an instance of AjaiuKja[Oq^K^fa_p
into it and give it the instance name oq^K^fa_p. This is the symbol in which you'll be doing the
animation. Make sure that it has only one layer.
4. Drag an instance of AjaiuKja into the @qjcakjKja symbol.
Figure 8-9 illustrates these steps.
1. Create a Movie Clip symbol
called EnemyOne_SubObject
that contains a subobject
named meter.
2. Create a Movie Clip
symbol called EnemyOne
and drag an instance of
the EnemyOne_SubObject
into it. Give it the instance
name subObject.
3. Drag an instance of the
EnemyOne symbol into the
DungeonOne symbol. Give it
the instance name enemyOne.
Figure 8-9. Create the enemyOne object.
 
Search Nedrilad ::




Custom Search