Chapter 10. Tile-based Games

TILES HAVE BEEN used in video games since the beginning. We’ve all played tile-based games. Some old favorites are Donkey Kong, Pac-Man, and many of the Legend of Zelda games. Tiles are visual chunks that are positioned and reused throughout a game to make up the entire map. Using tiles has many benefits for game programmers and content developers.

You get a little multiplayer break in this chapter. The concepts discussed here are used in the game in Chapter 11 and in the virtual world discussed over the remainder of the book. We’ll focus on outlining tile-based game concepts and the performance and game logic benefits they bring. We also cover A* pathfinding in detail, as this is used in many virtual worlds (including ...

Get ActionScript for Multiplayer Games and Virtual Worlds 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.