Auto Tiling in Tilemap

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ezillo
:warning: Old Version Published before Godot 3 was released.

Hello community. Very interested in the question whether it is possible to implement a system auto tiling in the Tilemap for Godot. As can be done to the engine was checking constantly looked side of the tile, and depending on the situation, changed his sprite.

Below is an example of what I mean
enter image description here
P. S. Excuse me for my English.

:bust_in_silhouette: Reply From: eons

Short answer: yes.

I have seen something like that already on procedural generators.

Making a plugin that automates the job in editor should be possible (making it generic may be complex because of the tiling rules), or a tool extending the tilemap, changing cells while drawing.

Check Tilemap node and Tileset resource documentation, you will need to work with both, checking tile cells and surrounding cells to decide if keep or change the cell tile.

ps: Don’t worry about your english, I think most of us here are not english native speakers and some of us write really bad ^^

Do you remember who was behind the original proceedural generator, eons? It would be interesting to talk to them…

Bugsbane | 2017-06-06 23:03

No, but you can try looking on youtube and the “awesome godot” list of goodies that is on github.

eons | 2017-06-07 05:10