Skill Tree Activated

The quest to become an indie game developer

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

Debugging Wall Splits

#PanicRoom Day 092

#100DaysOfGameDev R2D57
#100DaysOfCode R2D57

I have mainly been working on refining the code that produces extra room splits when needed. While this has been largely sucessful, I have run into an issue that I don’t want to skip past and am bent on fixing it before I move on.

rooms splits don’t show if on the right

I spent a large amount of time debugging the BuildRooms() method and setting myself up to see exactly what is going on with the code. What’s strange is that all the data I am getting back is showing up in the correct places, and with the correct values, but I’m just not seeing a wall getting created on-screen when my code clearly says a wall should be generated. Weird.

room splits show up on the left side

Troubleshooting will just have to continue until I figure it out and there won’t be much to show off until then. The good part, however, will be that once I do solve the issue then I can advance to setting my Ab divides and then my Aa and Ab divides for horizontal Primary Hallways builds. This will then give me complete Block A room creation and I can move from there to Blocks B and C, which should go a lot quicker having conquered Block A.

Leave a Reply

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