C#CodingDesignFeaturedGame DevProjectScript-writingUnityVisual Studio

Dragon’s Dungeon – Gameboard Tiles

gameboard tiles laid out in a grid

To kick off my new project, Dragon’s Dungeon, I decided to first make the tiles of the gameboard. This will form the basic representation of where the game is played and I can use it to scale to game view properly.

Rather than try to place 64 individual game tiles, it is so much easier to script this to be done automatically using a prefab cube object. Plus, this gives the added advantage of being able to tweak size and spacing on the fly from within the Unity Inspector.

While it isn’t much yet, this now forms the basis upon which I will keep building as I go forward.

C# script for the gameboard tile layout

Leave a Reply

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