Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiled maps support #76

Open
ramnes opened this issue Aug 18, 2022 · 2 comments
Open

Tiled maps support #76

ramnes opened this issue Aug 18, 2022 · 2 comments
Labels
enhancement New feature or request up-for-grabs

Comments

@ramnes
Copy link
Contributor

ramnes commented Aug 18, 2022

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.

@ramnes
Copy link
Contributor Author

ramnes commented Aug 19, 2022

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. :)

@ramnes ramnes changed the title Tiled TMX files support Tiled maps support Aug 19, 2022
@Donorhan
Copy link
Contributor

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

@Donorhan Donorhan added the enhancement New feature or request label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request up-for-grabs
Projects
None yet
Development

No branches or pull requests

3 participants