Room Analyzer
#PanicRoom Day 089
#100DaysOfGameDev R2D54
#100DaysOfCode R2D54
I spent a lot of time today working on something I have dubbed the Room Analyzer. This block of code took me a lot of time to get working just the way I needed it to and while it doesn’t directly contribute anything to the game iteself, what it does do and tell me what I need to know to be able to get something that will contribute directly to the game.
The Room Analyzer is essentially a big truth table that takes some conditions I came up with for how and when rooms should be divided, or redivided, and checks them against every random build of the House to determine if it needs to be done. It’s a very useful development tool for me to see working because now it will allow me to take the appropriate actions in the appropriate spots to make the HouseBuilder script sing.