2D Toolkit Forum
2D Toolkit => Support => Topic started by: regnared on February 14, 2013, 04:32:34 am
-
Is there a way to re-organize the tiles in a tileset palette? Right now the automatic atlasing and tilset palette workflow is great, just it would be more convenient to create levels if the tiles would be in a certain order.
A bit like this :
(https://dl.dropbox.com/u/16537765/2d_toolkit/palette.jpg)
Is there a way to edit it? Thank you! :)
-
There is but it isn't straightforward :(
Basically you can edit the palette in the tilemapeditordata object (you have to switch to debug mode). The palette is just a brush like everything else.
Rearranging will be coming in a future tilemap, its been requested a few times.
-
Ha ok! No problemo on that part.
Yeah I was thinking about creating the palette directly in the tilemapeditordata object. Very clever way of doing it. :) Makes a lot of sense to do it this way. Like a Palette layer. :D
Awesome in hearing that Rearranging will be coming in the future tilemap. Do you think it will be some sort of drag and drop just to make things easy and quick?
In any ways, I'm sure it will be cool and efficient. :D
Thinking about this, just had another question. Is it possible to copy/paste layers from a tilemapeditordata object? Say you want to copy/paste it to a new scene. (With the object using the same tileset and dimension as the previous one). Just wondering about that option.
As always, thanks for the very quick and detailed replies. Makes 2dToolkit that much more awesome. :)
-
You can do that, there just isn't an interface option right now.
If you wanted to just copy one layer, select it in the layers list, and then pick-up-drag across the whole tilemap, but for multiple layers the engine supports it but no way to do it just yet.
-
Oh yeah that would work well. Working on smaller level games so that is cool. :)