In my project, tilesets and their assets are in the same folder, which is different from the map. Tiled has no problem with this. But using this lib, they could not be found because the code was trying to load the sprite file relative to the map folder (filepath.Join(ts.parentMap.dir, ts.Image.Source)).
In my project, tilesets and their assets are in the same folder, which is different from the map. Tiled has no problem with this. But using this lib, they could not be found because the code was trying to load the sprite file relative to the map folder (
filepath.Join(ts.parentMap.dir, ts.Image.Source)
).