deepnight / ldtk

Modern, lightweight and efficient 2D level editor
https://ldtk.io
MIT License
3.44k stars 192 forks source link

Feature Request: auto-bake autotile layers into file save #1138

Open RowanFuture opened 1 month ago

RowanFuture commented 1 month ago

I would like to have tilemaps be automatically baked when saving the project and stored separately inside the json layer data

this data wouldn't have to be loaded and could be optionally used by importers

this is a purely time-saving feature as some importers don't support auto-tile layers, and it would make it quick to prototype levels

-

sidenote: I'm willing to try and implement this myself if it's something you would be willing to include

guselect commented 4 weeks ago

Very interested in this! What I've been doing to get around the problem is using this fork: https://github.com/Sheepolution/ldtk/tree/master

Where pressing CTRL+B bakes all layers (it's clearly a hack). I'd love to simply have an option to "bake all auto-layers on save".