Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just knocked up a fairly basic isometric tile based game and I'm looking for the best way to store the level data.

Each tile coordinate is assigned one or more numbers that correspond to a tile from the tile set. At the moment I have a small level set up in the code but I'm looking for a quicker way to populate a level with tiles and load them into the game.

I was thinking just making XML files would be the way to go and if that's the case any ideas on how I should write them?

share|improve this question
up vote 6 down vote accepted

Take a look at Tiled. It has support for Isometric maps and stores them as XML.

share|improve this answer
Thanks. This is perfect! – Matt McDonald Jul 18 '12 at 13:15

Not exactly what you were asking but might be of interest to you.

Do you know Mappy Tile Editor ? it's very popular in the subject

You could get some inspiration from it or there is the extension for XNA you could use : XNA Content Pipeline Extension to Mappy Maps(.FMP). This way would save you some time : you won't have to write a ContentImporter and a ContentProcessor. (That can be painful sometimes :-)

share|improve this answer
Thanks, I'll have a look and let you know how it goes. – Matt McDonald Jul 17 '12 at 21:49

Maybe take a look at tIDE? It's a XNA 3.1/4.0 solution for using tiles. It also has support for Tiled and Mappy (suggested in the other answers).

And to answer your basic question, XML is the way to go.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.