9. Tile Maps

Whether you know it or not, you’ve seen tile maps in other games that you’ve played. Many of the original arcade games were tile based, as well as many games for game consoles. Tiles are a good fit for a variety of game situations.

In this chapter, we look at the way AndEngine manages tiles. We also examine a tile editor for AndEngine, which enables you to make your own tiles or to adapt tile sets that you get from others. We’ll implement tiles for the V3 game by incorporating a small game within the game.

Why Tile Maps?

Tile maps have two principal advantages that were critical to early computer games and remain valuable in today’s games:

• For many games, the designer wants the playing field to be large and possibly extensible. ...

Get Learning Android Game Programming: A Hands-On Guide to Building Your First Android Game 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.