
Hi everyone,
In order to finish the tutorial, I have not just been hunting bugs, but also been doing a lot of restructuring of things at the backend - so today I’ll take a minute to talk about that.
One of the things I noticed as I was hunting for the bugs mentioned last week was that there were many things that had gotten a bit messy - which made finding bugs a lot harder than it could have been - and certainly isn't a good basis to add more functionality to. In some cases, this was a really straightforward mess: As we had improved on some art, for example, I sometimes kept the old assets - leading to multiple files in the same folder, most of which weren’t actually in the game any longer.
Some of it was less straightforward: Some old code was used in multiple files and I had long improved on it - but forgotten to update it in one of them. Some functionality (even a very recent one for the tutorial) was created to just fulfil a quick task, but I am planning on re-using it in the long run and should really rewrite it to be easily usable in different contexts.
Overall, there has been a lot of reworking and cleaning up of things like that over the past week, and we got started on redoing some of the larger mess as well (especially textures and wind-effects for the various plants). This wasn’t strictly necessary to do before the tutorial or even finishing 0.8, but considering it will help me to fix whatever remaining bugs I have not found (and any that may come up in the next weeks), I like to think it is time well spent.
Until next week!