I save out my Excel table as a CSV file to import into GameSalad. The CSV file looks like this…
That’s the format of the final output that I want to get out of Tiled.
==============================
For further info about my workflow… I work on the map as an .XLS file, with color coding to make it easier to look at. Each cell is just a FILENAME which matches an image that I have in my game project. It’s quite straight forward, and it works really well.
The only downside is that, when editing the .XLS file, you don’t really get a proper idea of exactly how the world will look, because you’re just looking at a big Excel table! It’s a bit ugly, and when I zoom out of my full map (which is pretty huge), it quite slow to scroll around, etc.
So it’d be great to be able to use Tiled to place all my images (which already have the correct filenames per tile), and output a CSV file that lists all the cells as their image filenames, separated by commas.
If anyone might be up for helping, that would be amazingly helpful.
You can download a copy of my Map.XLS and Map.CSV for reference here:
http://www.muzboz.com/Host/MapTable-TileRPG.zip (20 kb)
To summarise, the output CSV would just look like this, with no XML or anything. Just the filenames of each tile that I put into Tiled, written out, separated by commas. ie:
grass, mountain, mountain, grass, grass, house, grass, castle
grass, mountain, grass, grass, grass, mountain, mountain, grass
Please do get in touch if you might be able to help. It seems like it’d be quite easy if you know what you’re doing with C++. But I don’t really know where to start, myself!
All the best, and thanks for reading!
Murray
www.muzboz.com