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 ...

Get Learning iPhone Game Development with Cocos2D 3.0 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.