Here's a Tiled converter, just for you!

Published August 25, 2012
Advertisement
UPDATE! https://www.gamedev.net/blog/1062/entry-2255173-tiled-converter-update-1/

I've recently developed a format converter for Tiled, the open-source orthogonal and isometric tile map editor!
You can download it here, released under the Public Domain: http://www.mediafire...8r1y4b66ohrgm46

It includes has an implementation for a loader, fully working under C++/SFML. It supports TileSets, Layers, and Objects (which is pretty much everything Tiled works with, from what I know). Please notice it only supports Orthogonal tile maps!

The converted format has the layers become several slices of geometry, split by tile sets. So you can make a map like this:

n2gwlf.png



And the end result will be something like this:

2mcyibp.png



The two "Extra Tiles" up top appear due to how we're handling Objects as an example, using them as tile coordinates so certain tiles appear there.

Just be sure you convert the map first with convertmap.bat before you try out the sample! It should work relatively well, as it wasn't tested with more complex maps, so please let me know if you spot any bugs!
1 likes 1 comments

Comments

MARS_999
Sweet!!!!!!! Thank!! Keep up the good work!
August 26, 2012 02:38 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement