libgdx / libgdx

Desktop/Android/HTML5/iOS Java game development framework
http://www.libgdx.com/
Apache License 2.0
23.42k stars 6.44k forks source link

[Feature Request] Load TiledMap from Json #5707

Closed mguldner closed 1 week ago

mguldner commented 5 years ago

Issue details

With Libgdx, we can create a TiledMap from a TMX file. Is it conceivable to create a TiledMap from a JSON file ? This could be useful for people who want to serialize all their game in JSON.

Version of LibGDX and/or relevant dependencies GDX 1.9.9

Darkyenus commented 5 years ago

Is there any good reason for serializing everything into Json?

JasonMacKeigan commented 5 years ago

@mguldner I can see why you would want this. That being said, it would probably take up more space due to JSON file structure. Nonetheless, this might be a fun project.