Thursday, September 13, 2012

Squashing Bugs

So, after finishing and importing a whole bunch of artwork (the use of which will be my next update) I decided to go ahead and leave town and head back into the dungeon.  There, I came face to face with a whole load of new bugs:


Well, that's certainly not right... it ended up being a case of reusing a variable I shouldn't have.  Pretty much a symptom of not naming even trash variables clearly.  That wasn't terribly hard to deal with, although the following bug took much longer:


This one looked like a transparency bug (the wrong color is transparent) but messing around with that code didn't fix anything.  Not surprising, considering transparency seemed to work fine elsewhere...


...and this is a monster meleeing our heroine from across the room.  Still haven't solved this one yet, although I'm pretty sure it's due to the new pathfinding.  Kind of important to fix, as it renders the game more or less unplayable.


I took out the dynamic coloration for this run, and the blending appears to work correctly, which got me on the right track, that it was a corrupted resource.  Reloading all the coloring and graphical info finally fixed it, as seen below:


...and there were a whole bunch of minor bugs (like regenerating more than max life, and getting "killed" over and over again due to the half-trolls new life regen) that didn't merit screenshots.  Anyway, progress continues...

1 comment: