Java Reference
In-Depth Information
Figure 11-1. Clown Cannon start screen
Figure 11-2 explains the idea of the game.
Figure 11-2. Clown Cannon game screen
A user can aim the cannon and shoot a clown into the water bucket on the right, and the power
meter on the upper left determines the speed at which the clown leaves the cannon. The power meter
cycles up and down—it is up to the user to time her clicks in order to achieve the desired power. The
animation of the power meter will be an animated gradient, like those presented in Chapter 8. A number
of pegs appear to block the path of the clown. These pegs are randomly positioned to provide a unique
experience every time the game is played. The flight of the clown and how it bounces off the pegs will
Search WWH ::




Custom Search