Time for action – creating TilemapScene
Let's start by creating the new scene and loading our tile map. Perform the following steps:
- Open the Cocohunt project and create new group in the
Resources
group calledTilemap
.Note
You can continue working on the project you have after completing the previous chapter or take the final code from the previous chapter in the book's supporting files and use it as a starter project. You can find the final code for the previous chapter in the
Chapter_10/Cocohunt_10_Final
folder. - Add the
tilemap.png
,tilemap.tmx
,tilemap-hd.png
, andtilemap-hd.tmx
files to that group. You can use the files that you created or take the files from theChapter_11/Assets/Tilemap/Result
folder. - In addition to the tile map files, add two ...
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.