O'Reilly logo

Learn cocos2d 2: Game Development for iOS by Andreas Löw, Steffen Itterheim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    10

Working with Tilemaps

In the next two chapters, I introduce you to the world of tile-based games. Whether you’ve been playing games since the age of classic role-playing games like Ultima or you’ve just recently joined your Facebook friends in Farmville, I’m sure you’ve already played a game that uses the tilemap concept for displaying its graphics.

In tilemap games, the graphics consist of a small number of images, called tiles, which align with each other; placing them on a grid allows you to build rather convincing game worlds. The concept is very attractive because it conserves memory, compared to drawing the whole world as individual textures, while still allowing a lot of variety.

This chapter introduces general tilemap concepts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required