Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#CodingGame DevIllogical BaconPanic RoomScript-writingUnity

HouseBuilder Script

Day 031 #PanicRoom
Round 2, Day 001 #100DaysOfCode
Day 096 #100DaysOfGameDev

Wanting to start digging deep into getting the house built for Panic Room, I felt it was relevant to pull away from my LevelManager script and start a new HouseBuilder script. It became quickly apparent that this was going to be no small task and warranted its own file. By creating a new HouseBuilder script I could put everything I wanted to do with the initial setup in one place that wouldn’t interfere, or smother, the main game control once things are built and get going.

This is my first pass at the HouseBuilder, and it sets up a good foundation for what I plan to do. Key elements of this script that I wanted to include were: defining the house grid, or playable space, laying the floor, and surrounding that floor with exterior walls. My thought process is that with that much built and working, I then give myself a defined area to make the game happen in as it will take place solely within the house.

Leave a Reply

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