Get Updates By E-mail 

tiled

How To Create A Game With The Cocos2D Engine And Tiled Map Editor

  •  
  •  
  •  
  •  
  •  

Some of the most popular games on the iPhone and iPad are platformer type games. One of the more time consuming aspects of creating these games is building the tile engine, and editing the maps.

There are a couple of great open source tools which can greatly help in creating platformers on the iPhone and iPad.  Two of them are the Cocos2D game engine, and the Tiled map editor which are designed to work together.

Ray Wenderlich, creator of the Space Game Starter Kit and co-author of Learning Cocos2D book, has posted a couple of excellent tutorials on creating a game using Cocos2D and tiled these tutorials go through the process of building a game from the ground up, and explain everything from laying out the tiles, and creating the game in a straightforward manner so if you are interested in creating an iPhone or iPad platform game check them out.

Tutorial #1: Creating The Project, Making The Map and Adding It To The Game
Tutorial #2: Collisions, Modifying The Map Dynamically

Please subscribe to our RSS feed for more iPhone and iPad development tutorials and programming tips.


  •  
  •  
  •  
  •  
  •  

Creating Isometric Tile Map Games For the iPhone

  •  
  •  
  •  
  •  
  •  

I received an interesting question today from an iPhone development newbie as to how they could create an iPhone game using tiles and isometric perspective.  While going through and creating their entire game from scratch was out of the question, I pointed them towards a great utility that I found out about recently.

The utility is open source, runs on Windows and Mac is known as Tiled.  Tiled is an excellent 2D map editor, and recently support for isometric maps was added to the QT version.

The great thing about Tiled is that the file format, .TMX,  works with Cocos2D, and the TMX format is directly supported.  Be sure to read the Cocos2D Wiki guide on Tiled Maps.

The guys at 71 Squared have also created a tutorial on creating a Tiled Map Class as one of their excellent iPhone game programming tutorials.

This is the easiest free option I know of for creating tile map based games on the iPhone, and I hope this helps anyone else looking to do this.

Please post any comments below, thanks.


  •  
  •  
  •  
  •  
  •