Game Development Reference
In-Depth Information
Our game has three main visual components: the puffer fish, the background layers, and the particles that
occur when the fish explode (see Figure 5-1).
Every graphical object is a DOM element—in fact, they're all just divs with image backgrounds and I'm
animating them by adjusting their CSS properties with JavaScript.
Figure 5-1. The puffer fish, the background layers, and the particles that occur when the fish explode
 
Search WWH ::




Custom Search