Could you add the ability to have arbitrary table layers? Perhaps it could just be called a Data Layer.
I’d like to be able to enter arbitrary text or numbers, etc, into any map tile, and export it as a CSV.
Basically, I’m just looking for a way to edit a table like you would in Excel, but it’s overlaid over the top of the tiled map. And the layers can be exported as individual CSV tables.
For this layer, I’d like to be able to turn it on and off (visibility), and if it’s on, it simply renders the data for each cell over the top of the map. If it’s off, you can’t see the values (for when you’re just editing the map tiles).
Currently I use another table (in Excel) to trigger off readable events, and they dictate which line from another Readables Contents table the text is pulled from. These are exported as CSVs and brought into my game. But this takes a fair bit of cross referencing the actual locations from the map to the Excel table, and it takes time, and is a hassle.
Here is a little mockup of how it could look in the Tiled editor if one could simply edit Table Data Layers right there on top of the Tiled map…
The user could set a different text color for each layer, to make things a bit more readable, even if a few different data layers are currently set to being visible.
And when you select File > Export, you can select which layer to export as a CSV.
(I would want to export my layers individually, as CSV files, which I can name and save).
So at the end, I would be able to save out the Readables Data Layer as ReadablesLocations.csv,
and the Teleports Data Layer as TeleportLocations.csv. That would be awesome.
Q: Could this be added to Tiled with any amount of ease?
Q: Is it something others would find useful?
Cheers! All the best.
- Murray