Java Reference
In-Depth Information
Figure 11-6. The game screen
The power level on the upper left shows that the user clicked the mouse when the meter was at
about 80%. Note that the power level is a gradient. We will use the animated gradient technique from
Chapter 8 to implement this.
If the clown makes it to the water bucket on the right, points are awarded and there is a small
fireworks display. Figure 11-7 shows the firework display.
Search WWH ::

Custom Search