A while ago I made a python script that takes as input Tiled json files and outputs a sequence of C lines of code I can paste in a header of my project, for example:
Code: Select all
const ROMEntity ALLENTITIES [2] ={
{3, 0, 0, 0, 0, TRUE, 2, 1, 4, 1},
{5, 2, 1, 0, 0, TRUE, 2, 1, 15, 1}
};
const Room ALLROOMS[8]={
... etc
What do I gain by using this system? I can see it has compression options, which is already very attractive, but anything else? also, how exactly do I make use of this? are there any caveats to keep in mind?