Java Reference
In-Depth Information
Figure 11-7. Fireworks
In Figure 11-7 there are two dots that came out of the launchers below them. The dots represent a
firework shell, and when they reach the top of their animation a bunch of star particles are created. Each
star particle moves outward in a random direction to create a firework effect.
Implementation
You learned how to implement the effects used in this game in previous chapters; the following code
examples will focus on how these effects are used in an application. We will also look at the code that
glues these effects together to create a complete game and some tricks you can use when working with
content created in Illustrator.
Search WWH ::




Custom Search