Open ramnes opened 2 years ago
I'm just seeing that Tiled can export maps as JSON as well, and that Phaser supports these JSON maps natively with its tilemapTiledJSON
loader method!
@Donorhan That could be a much simpler alternative to what you're proposing in #80. The JSON would fit perfectly inside MongoDB, and we wouldn't reinvent the wheel. :)
Indeed it could be interesting, the difficulty will be to link the tilesets from the TMX to the ones we have in the database (Tiled tileset > Tileset._id). But you may be thinking of loading a map outside the DB, in which case there would be a lot of things to change
Tiled is a popular and very complete 2D editor that would speed up the creation of new maps.
The TMX file format is also fairly standard now, and some people have already made some maps open-source. Support for these files would help foster an open-source ecosystem around lemverse and other virtual office platforms!
In that sense, exporting existing levels made with the in-app editor to TMX would be very nice as well.