Geo Blaster Extended

We create a new game, Geo Blaster Extended, by adding bitmaps and sound to the Geo Blaster Basic game from Chapter 8. Much of the game logic is the same, but adding bitmaps to replace paths enables us to optimize the game for rendering. Optimized rendering is very important when you are targeting limited-processor devices, such as mobile phones. We also add sound to Geo Blaster Extended and apply an object pool to the particles used for game explosions. Figure 9-1 shows an example screen of the finished game.

Geo Blaster Extended

Figure 9-1. Geo Blaster Extended

First, let’s look at the tile sheets we will use for our new game.

Get HTML5 Canvas, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.