mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Add ability to reorder terrains #1603

bjorn posted onGitHub

Currently, it is not possible to change the order of the terrains defined in a tileset.

There should be only one difficulty with this, which is that reordering terrains affects the terrain IDs stored on the tiles, which will have to be adjusted accordingly. But this is similar to when a terrain is removed, which is already implemented.

Reported on the forum.


That would be quite helpful to have! Is this something complicated to be implemented? I would love to see that in, as I have lots of Terrains now in our Project.

posted by UliAbo almost 3 years ago

That would be quite helpful to have! Is this something complicated to be implemented? I would love to see that in, as I have lots of Terrains now in our Project.

Unfortunately it's not entirely trivial, since a WangId stores terrain indexes, which will all need updating when we allow terrains to be reordered. Alternatively we could switch to assigning terrain IDs. Either way it's not too complicated either, so I could probably still fit this into 1.9.

posted by bjorn almost 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests