Game Development Reference
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
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
that contains a subobject
2. Create a Movie Clip
symbol called EnemyOne
and drag an instance of
into it. Give it the instance
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.