Transitioning TileSet terrains
In this recipe, we will use a new TileSet, which we are going to download. We will add a new TileMap and set up the tiles so they will autotile when we paint the terrain to the new TileMap.
Getting ready
For this recipe, we are going to continue from where we left off in the last recipe.
How to do it…
First, let’s download a new TileSet to use with a square tile shape. We are going to use it in the new TileMap that we will add in the Scene tab. You can create a new scene and add the new TileMap if you want to keep the TileMaps separate:
- Go to https://opengameart.org/content/happyland-tileset and download
tileset.png
. - From your
Downloads
folder, move or copy/paste the file into the FileSystem tab or yourChapter 8
project folder. - Left-click on the Node2D node and then + in the Scene tab. In the Create New Node window, type
tile
in the search box and then select TileMap to create the node in the Scene. Left-click...