C#CodingDesignFeaturedGame DevProjectUnity

Gameboard and Walls

gray blocks in between tiles to form the board
orange walls stacked on top of gameboard base

With the grid layout taken care of, I wanted to next fill in around the tiles to give the gameboard a more complete look and feel. I designed the prefab that would fit in between the tiles with two things in mind: 1) they would all fit together to form a complete base, and 2) they would also serve as the basis for the walls if were to stack another identical piece on top of them. By designing in this way, I could use the same code base for laying them out and figured I would make the next step being able to toggle the visibility of the walls.

The code was fairly straightforward because this is all grid-based and the only real time it took was with playing with my X and Z offsets to get placement just right. When it was done, I had a full set of gray block that were filled in around the grid tiles and another set of orange blocks stacked on top that will serve as the walls for the game. I also made a little tweak and made the tiles appear countersunk into the gameboard.

isometric view with highlighted base block
isometric wall view with single wall highlighted

Leave a Reply

Your email address will not be published. Required fields are marked *