You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Paints a terrain and the connects it with surrounding tiles of the same terrain'
However as shown in this gif it only works on squares and does not seem to check diagonal squares at all meaning you can not make use of diagonal tiles with this autotile mode.
Path mode has similar issues, i feel like this is doing what it is described as, but the fact that it disconnects other paths makes it kind of useless.
Here is an example of trying to use both tools to create a diagonal room. Very frustrating and unhelpful!
Steps to reproduce
Create a 256 bit-masked image with edges and corners and try and make a diagonal room using autotile
Minimal reproduction project
x
The text was updated successfully, but these errors were encountered:
So, you Terrain setup cannot work well with "pure" diagonals.
When you try to connect a tile to another diagonally, the algorithm puts a constraint in the corner of the tile. Such constraint requires all tiles surrounding that "vertex" to comply with the constraint. If it cannot find a matching solution, it kind of tries to solve the situation as best as it can, but often fails to do so (resulting in some disconnections). As a consequence, you need a some tiles to fill in those corners (it is still missing some but you get the idea):
That being said, even with that change, I was not able to create those "pure diagonals". That was due to the algorithm used not enforcing connection on diagonals, as this is sometimes not welcome (mainly when you can to paint a single tile next to a big blob). Thus, I implemented a new painting mode that allows you to force-connect to the surrounding corner tiles. See #72030, it should help with your issue.
Godot version
4.0 Beta 14
System information
Mac OS 11.6.7
Issue description
The connect mode tooltip tells me
'Paints a terrain and the connects it with surrounding tiles of the same terrain'
However as shown in this gif it only works on squares and does not seem to check diagonal squares at all meaning you can not make use of diagonal tiles with this autotile mode.
Path mode has similar issues, i feel like this is doing what it is described as, but the fact that it disconnects other paths makes it kind of useless.
Here is an example of trying to use both tools to create a diagonal room. Very frustrating and unhelpful!
Steps to reproduce
Create a 256 bit-masked image with edges and corners and try and make a diagonal room using autotile
Minimal reproduction project
x
The text was updated successfully, but these errors were encountered: