Starting Primary Hallway Placement
Day 035 #PanicRoom
Day 100 #100DaysOfGameDev
R2 Day 005 #100DaysOfCode
I started coding for the placement of the primary hallway within the house and made some progress. Nothing is built in the game yet, but I got a big portion of the math figured out. I used some Debug.Log code to verify what was going on under the hood and I like what it’s doing. I didn’t have a lot of time to devote to coding today, which is why I was only able to get this much done, but it is a good base to lay down and I look forward to picking up from here and getting the primary hallway actually mapped out and drawn in-game.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/06/2020-06-10_notepad_script_HouseBuilder_BuildHallways.png?resize=800%2C569&ssl=1)
![](https://i1.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/06/2020-06-10_Unity_testing_primary_hallway_column.png?fit=800%2C432&ssl=1)
![](https://i2.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/06/2020-06-10_Unity_testing_primary_hallway_row.png?fit=800%2C432&ssl=1)