Game Development Reference
If you're interested in a complete, working, ready-made solution for a hack-
and-slash game on orthogonal tilemaps, including a great tutorial, I recommend
looking at Nate Weiss' Action-RPG Engine: www.iphonegamekit.com .
You should now have a fair understanding of what tilemaps are, and you should know
how to work with the Tiled (Qt) Map Editor to create a tilemap with multiple layers
and properties your game can use.
Loading and displaying a tilemap with cocos2d is a simple task that quickly grows in
complexity when it comes to obtaining tile and object layers, modifying them, and
reading their properties. You also learned how to determine the tile coordinate of a
touch location and how to use tile coordinates to scroll the tilemap so that it centers the
touched tile on the screen.
I even got you acquainted with custom drawing and a bit of OpenGL ES code to render
the object layer rectangles on the tilemap for debugging purposes.
In the next chapter you'll learn how to work with isometric tilemaps and what it takes
to implement a player character moving over the isometric world.