Game Development Reference
In-Depth Information
Figure 6-14. Coin animation in Flash Movieclip
The coin simply spins and consists of eight frames. Unlike your pig animation, the coin is inside its own
movieclip, named coin . Because you won't be exporting a . swf file to be used in Zoe, you can organize your
animations inside of movieclips. This also allows you to add filters to it from the main stage, which will result in
multiple colored coin animations using the same clip.
The goal here is to have a few more colors for your coins before exporting the sprite sheet assets. By dragging
three instances of the coin to the main stage, some filters can be applied directly on the movieclips. Figure 6-15 shows
two of the coins tinted.
 
Search WWH ::




Custom Search