I have a bit of an issue with generating procedural generated maps with terrain brushes.
Tried reaching out in the chat, but had no luck.
I am generating a map data within a couple of dictionaries and basically bundling them up to paint them with set_cell_terrain_connect() after all positions are calculated.
The problem I am having is that when I do paint them they refuse to be painted next to each other even though they are on completely different layers and I wish to understand why this is and if this requires me to generate two tilemaps on top of each other?
I would like to stick with as little nodes as possible to make the scenes rather clean.
As shown bellow, I use two different terrain "brushes" and set them to be painted on two different layers which I set up in the tilemap already.
As the picture shows in this example I set up using primitive textures, they do not connect.When using a click to tile command to check the data of said tile, it clearly shows that there should be a ladder close to the ground platform, but it's clearly not painted.
The top tile is using the top of the ladder tile, which makes sense since it's not connected to anything up top and I need to paint over the platform for that to make sense, but the problem still persist with the bottom of the ladder.
set_cells_terrain_connect(0, ground_cells, 0, 2, true) set_cells_terrain_connect(1, ladder_cells, 0, 1, true)