mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
10.82k stars 1.73k forks source link

Autolayer #1351

Open GuilhermeAlanJohann opened 7 years ago

GuilhermeAlanJohann commented 7 years ago

RPG Maker has a feature that allows the user to place tiles on the map in a way that they automatically layer themselves. I think Tiled could have something similar. It may be a Tool Button or a new kind of Tile Layer that when its used all tiles placed on the map tries to arrange themselves into layers (creating new ones as necessary). This would make it easier to build maps with tiles that overlap themselves, like trees in a forest.

bjorn commented 7 years ago

Are you referring to the feature where you associate a layer with each tile, and when placing those tiles, it will automatically put each tile in its associated layer? I think it calls this the "priority"? Or is it more elaborate?

GuilhermeAlanJohann commented 7 years ago

Well, I has been a long time since I stop using rpg maker, so I dnt remember well how it does this, but I think you are right. It has some priority in tiles and I remember it could be edited. But what I was talking about is a much simpler feature, because I thought that implementing these priorities would be harder, in despite of the fact that it would be better. I was porpousing something that tries to put every time in a single layer, but when it can't (when a tile overlaps another) it creates a new layer and puts the tile on it. But, again, the priorities would be much better.

bjorn commented 7 years ago

Requested also on the Tiled forum.

willianholtz commented 1 year ago

Thanks @bjorn. I hadn't seen this topic! However, is there any possible solution to this? #3469