O'Reilly logo

Learning iPhone Game Development with Cocos2D 3.0 by Kirill Muzykov

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

Time for action – creating the Retina version of the tile map

Just as with many other resources used in Cocos2D games, you need to have several versions to support non-Retina and Retina displays. Luckily, we don't have to create a separate tile map for 3.5-inch Retina and 4-inch Retina displays. Also, we won't have to repeat all the steps and recreate a tile map using a different tileset.

Note

You need to understand that tile maps for Retina and non-Retina displays will only differ by size of images used in them, and the layout of the tiles should be the same; of course, if you don't want to display different levels for Retina and non-Retina displays.

However, normally, you'd have to create two versions by simply repeating all your work and placing ...

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