Skill Tree Activated

The quest to become an indie game developer

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

Debugging. Still.

#PanicRoom Day 095

#100DaysOfGameDev R2D60
#100DaysOfCode R2D60

I have been plagued by an issue that I can’t resolve for some few days now and that is why I can get room Aa to get properly divided when it’s on the left side of the House but not on the right. I have tried looking at a few key points in my code, but nothing comes to light. This prompted me to start a hardcore Debugging session.

I thought I was on to something so started rewriting, but I have learned not to delete until you’re certain the change was a good one. In this case it wasn’t, so I could easily revert back to the original code flagged by //XXX.

When I say hardcore I mean, like, putting trackers everywhere: before and after calculations, as method starters, inside for loops, everywhere! I want to know exactly what’s happening with my code at every turn so I can finally figure out where’s it’s sliding off the rails and not giving me what I want.

Unfortunately, it take time to set up all this debugging, so that’s pretty much all I had time for today, setting up. But now that I can verify the proper flow of the code I’ll be able to start analyzing the data manipulation to see my issue lies. That’s the plan, at least.

Leave a Reply

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