Create Corner Tile

To make a more interesting looking map, you will create a new tile that will round out some of the corners and dead ends of the map.

The 3 Tile Corner Pattern

If you look around the map in preview mode, you will come across walls that create a corner shape using 3 tiles, like in the image below. This is a perfect pattern to add to your algorithm that will place a tile in that spot where the of 2 walls meet.

Create Wall Corner Tile

To create a new tile, you will need to open the Tiles scene first. When the scene is loaded duplicate the Wall tile and deinstance it. Create a tile that fits into the corner shape. If you are having trouble making the tile, place a few wall tiles into the scene to recreate the corner shape pattern seen in the map. When you are happy with your tile, create a new template from it, call it Wall Corner, and in Project content move it to the My Tiles folder.

For the tile in the picture below, a client context was added that contains a torch on the wall that will give some light in the dungeon.

Update Tiles Data Table

Now that you have a new tile, the Tiles data table will need to be updated to contain this tile so your algorithm can use it.

  1. In My Tables in Project Content, double click on the Tiles data table to open it.
  2. Add a new row to the data table.
  3. For the id column, set the value to -1. Negative numbers will indicate that the tile does not appear in the ASCII map.
  4. Add the Wall Corner that was just created for the tile column.
Scroll to Top