Topic was automatically imported from the old Question2Answer platform.
Asked By
JeremiasDev
Hello, I want to make it possible to build fences in my game, but the problem is I want it with a bitmask or that it connects automatically. Like the fences at Clash of clans, how do I do that?
If you want to change a tile with code, you’ll want to specifically look at
set_cell ( int x, int y, int tile, bool flip_x=false, bool flip_y=false, bool transpose=false, Vector2 autotile_coord=Vector2( 0, 0 ) )