47 lines
1.7 KiB
Org Mode
47 lines
1.7 KiB
Org Mode
#+title: godot 10 - Howto use Tilemap terrains (autotiles) in Godot 4, part2
|
|
* [[../../arpg/toc.org][Table Of Contents]]
|
|
|
|
* Application of autotiles
|
|
|
|
** Create Terrain set
|
|
|
|
1. select TileMapLayer node
|
|
2. Inspector-> TileMapLayer -> Terrain Sets (after Physics layers)
|
|
3. Add Elements initial
|
|
1. this creates a thing called "Terrains"
|
|
4. click 'add elements again'
|
|
1. rename terrain
|
|
2. pick color
|
|
|
|
** Choose terrains for terrain set
|
|
|
|
1. Go to TileMapLayer node
|
|
2. Click on Tileset at the bottom of the screen
|
|
3. click on "Paint" in "Setup, Select, Paint"
|
|
4. Select the "tiles" pane in the left side of bottom middle where it says "tiles/patterns"
|
|
5. select the correct tile map
|
|
6. Go to "Paint Properties" in middle bottom
|
|
7. select "Terrains", then which Terrain set under "painting"
|
|
8. select the corners/sides or corners and sides that apply to the terrain set
|
|
|
|
** alternative tilesset
|
|
|
|
*** create the tiles
|
|
|
|
1. Go to TileSet at bottom of screen
|
|
2. add a new terrain
|
|
3. click on "Select" in the middle bottom panel
|
|
4. right click on the tiles you like and select "create alternative tile"
|
|
5. scroll to upper right side of tileset viewer where you will see the "alternative tiles"
|
|
6. click to the right of the tiles to add more, duplicating the ones to the left
|
|
7. click on the options in 'rendering' in the middle pane to change the orientation of the selected tile
|
|
|
|
*** paint the tiles
|
|
|
|
1. switch to the paint tab in middle bottom pane
|
|
2. make sure the correct terrain set is selected
|
|
3. select the corners, sides or corners and sides
|
|
4. also make sure to paint the corners of the original tiles!
|
|
5. 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
|