Hi!
I just created a tileset and I would like to change it to embed.
Is there a way to change it?
Thanks
Hi!
I just created a tileset and I would like to change it to embed.
Is there a way to change it?
Thanks
Not recommended way: In the map, look at the Tilesets view (the list of tilesets in your map, where you select tiles to place) and on your external tileset, there should be an “embed tileset” button. This will embed the tileset into this map. Your external tileset will remain as a file, but will not be used by this map (unless you use both the embedded copy and the external copy).
This method should only be used if you only intend to have one map or otherwise don’t intend to share tilesets between maps, as any changes to the tileset will not propagate to other maps.
If you want fully embedded tilesets like this in the future, you can also create them embedded from the start, there’s a checkbox for that in the New Tileset dialog.
Recommended way: Do not embed the tileset into your working map. Instead, if you really need it embedded (e.g. your Tiled loader doesn’t support external tilesets), use the “Embed tilesets” export option to embed the tileset only into the exported version of the map that you use in-game. This way, your working maps can keep using your external tileset and benefit from the benefits of that, but you can easily make copies of your maps with the tilesets embedded.
If you’re planning to embed the tileset just to avoid having to manage multiple files, please reconsider. You’ll still have multiple files even with embedded tilesets because the image(s) will not be embedded, and most of the hassle with managing an extra tileset file is better mitigated by organising your files from the start, e.g. placing all your maps, tilesets, and tileset images into (subfolders of) the same folder so you can use/move/share them all together.
If you’re embedding the tileset because your game engines requires it, you should use the export option instead, so that you don’t wreck your working files.