#Tile automation after procedural generation

11 messages · Page 1 of 1 (latest)

prisma wolf
#

Hi, i am trying to make a procedurally generated 2D tilemap and I have a problem with the textures. I made an auto tileset already, which works perfectly when used manually. However, I don't know how to make it so that my cells update after they are created. Here is my code. I tried using the "set_cells_terrain_connect(cells: Array[Vector2i], terrain_set: int, terrain: int, ignore_empty_terrains: bool = true)" function but i don't know how i am supposed to do it (especially the Array of Vectors part). Anyone knows?

prisma wolf
#

If anyone needs to see more parts of the code feel free to ask

ruby dune
prisma wolf
ruby dune
#

There seems to be at least one branch that's developed for v4.3
Don't know when there will be an official release, can't really find any documentation or discussion about this

prisma wolf
#

i managed to do that by separating the two tilsets into different layers

#

still has some bugs (top right) but almost perfect

prisma wolf
#

now my only problem is