Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#Illogical BaconPanic RoomScript-writingUnityVisual Studio

Adjusting Exterior Walls

#PanicRoom Day 061

#100DaysOfGameDev R2D26
#100DaysOfCode R2D29

bottom exterior walls appearing outside of the floor grid
top exterior walls appearing outside of the floor grid

It became obvious fairly early on in the development of the Floor Grid Overlay that, based on the positioning I was using for the Floor Grid, I would have to do something about moving around some of the exterior walls to keep everything within the footprint I was setting up.

With both the Column and Row Grid Labels all working properly now, it was time to turn towards adjusting the walls.

The process was just mainly a lot of trial-and-error as I tweaked my code and algorithms until I got the results I wanted. It was also a great opportunity to go back and revisit some of my previous code to clean things up a little.

One was I did this was to assign some new Vector3 variables to my Tile positioning that made is much easier to alter where I was placing them. Rather than rewriting huge segments of key lines, I could just make alterations to my key variables and the changes could automatically take effect. This was definitely a +1 moment for my coding game!

Leave a Reply

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