Follow this tutorial if you want to map caves faster and easier.
Note: In this tutorial, you can follow either two of my approaches. For type 1, the autotiles are used in layer 3 so that the elevated floor tiles of the cave can be used easily in layer 2. Follow type 2 so you can use more tiles from the tileset. Type 2 uses the second layer for the autotiles. In this approach you can still use the elevated floor tiles. You'll just need to cover tiles in layer 3.
We can use the following autotiles for easily mapping cave interiors.







Go to the database and set them to their specific tilesets. Set the passability to square and the priority to 5. This will make the autotile feel like the normal tileset.

The autotile goes here as shown below picture.

Type 1
We used the tile as marked below for the ground of the cave.

Click on the flood fill button
and click the lower layer button
.Click anywhere on the mapping area. The fill button fills up all the white area in layer1 or the lower layer.


Use the following autotiles as marked above picture for the ground of the cave in layer 1. Draw them in a random manner.

Let's go to layer 3
or the upper layer. Choose the earth cave autotile and draw any shape that will make up the cave area using the pencil tool. Add a small area for the entrance. Make this noticeable to your player's eyes as seen below in the lowest part of the map.
Use the fill tool and click outside the line you draw before. This makes the dark area as shown below picture.

Get back to the first layer and put on the walls. Use the tiles as marked on the left side of the picture below.

You can use the sunlight tile in the cave's entrance on layer 1.

Go to layer 2
or the middle layer. This is where we can add the cave's "things".
Use the third layer to fix things or add more things.

This what will look like during game play.


Pencil - the pencil makes a small dot when you click on the mapping area, as you drag the mouse, you can make a line. Click this button to manually draw something like the line of the dark soil as shown in the picture below.
Rectangle - the rectangle button makes a square as you drag your mouse.
Ellipse - the ellipse button makes a circular shape. 














































