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?
#Tile automation after procedural generation
11 messages · Page 1 of 1 (latest)
If anyone needs to see more parts of the code feel free to ask
I don't know anything about that but there's a plugin which seems to make these things easier
I don't think that's compatible with godot 4.3 tho
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
Actually it seems to have been released for v4.3
https://github.com/Portponky/better-terrain/issues/86
GitHub
It looks like this is being moved to TileMapLayer https://docs.godotengine.org/en/latest/classes/class_tilemaplayer.html