Tuesday, August 20, 2024

So Many Bugs and Fixes

I was on a bit of a sugar high with the redone lighting system I'll admit, but boy did that rush come to a bit of a grinding end yesterday when I started adding in some fresh creatures to the world and tried to do something with them.

The editor animation creation tools are a bit buggy. So a few crashes cost me some time before I cracked it and wrote some extra checks to make it a bit better.  Then when I finally added a new animation (a grey wolf) and tried to set that up in the app, all manner of things went wrong. Like rendering completely incorrectly, and only after I'd worked out that my edityor interface wasn't updated with a bunch of logic and fields I'd added. As for the rendering going wrong, I mean, parts of the wolf were being rendered, but not the right parts. So I scratched my head for ages while working out what was going wrong, then finally realising that part of my code reading in spritesheets in the app was clearly going wrong. So I loaded up the older individual action sheets - and then it worked. So, with that finally working, I could finally start having some combat in the new world, and also the first time the new location rendering system was going to work in combat mode. It was also buggy. There's work there that I need to tweak with the updated code, cause right now it's a bit special to say the least. I then decided to keep up and build in some respawn points. More issues there. My patience is about to break at this point.

On top of that work has been quite needy and our team is generally feeling tightly wound and rather over it too.

So. Back to basics. I decided to just start fixing all the things as I needed to. I went in, added all the new fields to the editor for Creatures. That got Mr Wolf working. I then tweaked the code for zone encounters and that started working. Finally I just redid some of the code around locations and how they are saved, made it a nifty point and click in my editor to create a respawn location, then tie it back to a realm as needed.

So, here we are. I've fixed a whole bunch of things that used to mainly work, that got tweaked to the point where they didn't work, and then corrected to the point where they work again. And I still have to fix up the rendering in combat mode. But again, progress. Sometimes, like today, seemingly one step forward, one step back, one step forward, but ever so slightly more forward than before.

Oh yeah, this is the trading building on East Floren Island, with its shiny new functioning Respawn setting under the gaze of Vitalist Jeremy.

No comments:

Post a Comment

East Floren Island Started

So, although the title says East Floren Island, I spent the majority of the evening still in the caves below the islands. However, that was ...