Java Reference
In-Depth Information
object interacts with another - usually by running into one another). I'll also show one way to achieve
double buffering, which makes games have less of that irritating flicker. When you write your own (no
doubt far more interesting and entertaining) games, you'll need to know how to do those things.
Before we dive into the code, let's see what the game looks like. Figure 12-2 shows the
ShootingGallery game during play.
Figure 12-2. The ShootingGallery Game
Search WWH ::




Custom Search