tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Add Export to, in world creation sessions.

Open willianholtz opened this issue 3 years ago • 1 comments

I use tiled to create rooms for my game, usually when I export in each .tmx file and export to .png. However, as I started to use the creation of worlds more, it is very difficult to export one by one. It would be interesting to be able to export all files created in .world to png, or even .json or any extension. If there is that kind of option, I haven't found it yet. But I believe that this would be very welcome for tiled.

Resolution: Include an export button for each .world object

willianholtz avatar Apr 07 '21 10:04 willianholtz

Tiled ships with a tool called tmxrasterizer, which can also render entire worlds to an image. However, it sounds like what you're looking for it to export each map in the world to its own image?

Personally rather than hardcoding some kind of support for this I'd be more inclined to add support for this to the scripting API. The necessary API for implementing such an action would be:

  • [ ] Get list of maps in a world, project or directory
  • [ ] Exporting maps to image. Scripts could currently do this by using the Process API to launch the tmxrasterizer.

bjorn avatar Apr 16 '21 12:04 bjorn