1.7 KiB
1.7 KiB
godot 10 - Howto use Tilemap terrains (autotiles) in Godot 4, part2
Application of autotiles
Create Terrain set
- select TileMapLayer node
- Inspector-> TileMapLayer -> Terrain Sets (after Physics layers)
-
Add Elements initial
- this creates a thing called "Terrains"
-
click 'add elements again'
- rename terrain
- pick color
Choose terrains for terrain set
- Go to TileMapLayer node
- Click on Tileset at the bottom of the screen
- click on "Paint" in "Setup, Select, Paint"
- Select the "tiles" pane in the left side of bottom middle where it says "tiles/patterns"
- select the correct tile map
- Go to "Paint Properties" in middle bottom
- select "Terrains", then which Terrain set under "painting"
- select the corners/sides or corners and sides that apply to the terrain set
alternative tilesset
create the tiles
- Go to TileSet at bottom of screen
- add a new terrain
- click on "Select" in the middle bottom panel
- right click on the tiles you like and select "create alternative tile"
- scroll to upper right side of tileset viewer where you will see the "alternative tiles"
- click to the right of the tiles to add more, duplicating the ones to the left
- click on the options in 'rendering' in the middle pane to change the orientation of the selected tile
paint the tiles
- switch to the paint tab in middle bottom pane
- make sure the correct terrain set is selected
- select the corners, sides or corners and sides
- also make sure to paint the corners of the original tiles!
- get the centers for the primary terrain note: if you are using the darksand terrain pattern, make sure to also paint the corners of the original tiles