Open Senevri opened 10 years ago
added the following to the if conditional in TmxTileSet.hx:
source = new Fast(Xml.parse(Assets.getText(Std.string("maps/" + source.att.source))));
source = source.node.tileset;
and made the else branch execute always.
Problem is the magic "maps/" string, which could be resolved by getting the path when tmxmap is loading from file.
When creating a tileset, the tileset entry is replaced by a reference in the tmx file like so:
partially bad planning on Tiled's part? Perhaps. Regardless, I just broke my level.