Open Silver-Streak opened 3 years ago
The problem is that pixi-tilemap doesnt support formats per-se. what you can do is a demo where its used with this format and i post it here. tilemap itself is low-level thing
Hey @ivanpopelyshev thanks for the quick response. Just to confirm, you would like me to make a tilemap json in LDtk and post it here? (I can also get the exact same tilemap converted over to Tiled TMX and then Tiled JSON in tiled, to show comparison).
We plan to write a parser for gdevelop to do this bit and then pass it to pixi-tilemap to render. It will likely be added to the existing tiled json parser in https://github.com/4ian/GDevelop/blob/master/Extensions/TileMap/pixi-tilemap-helper.js
Hey @Silver-Streak @blurymind did you upgrade to @pixi/tilemap 3? It should have better typings + cleaner API.
The Level Designer Toolkit (formerly LE-D) is a fantastic new(ish) Tilemap editor from some of the people behind Dead Cells.
While it can currently output Tiled TMX files, the app does have it's own JSON format, documented here: https://ldtk.io/json/
Would there ever be any consideration in adding support for this JSON format?
Full disclosure: I'm interested in this to help future enhancement with the GDevelop 5 project. They just recently integrated Pixi-tilemap as their tilemap support for the engine, and while they have interest in LDtk as the tilemap editor of choice, it would require them to build out something that translates the LDtk format to Tiled format to be interpreted by Pixi-tilemap. Having native support for the LDtk format would skip a lot of steps, if not also expand compatibility in general.