Hello everyone!
Welcome to the twenty-fifth development update for Haunted: Attack of the Dead Men. It's been a loooong time since the last one of these, hasn't it? Well, you can safely disregard everything I said in that update, at least for the foreseeable future. While I would like to work on a different type of game, I've also come to realise two things: first, this game needed a bit more love, and second, I seem to know a lot more about making boomer shooters than I do about other genres. But more on that later.
A (New-ish) Roadmap
In the last post about the anniversary sale, I had a pretty big announcement: there would be a major update to Haunted, and that it would absolutely contain a rework of Map 4. Nothing there has changed - there will still be a major update with a rework of Map 4. But... there will also be a smaller update first, which is what I have been working on for the past month or so.
There is a reason for this - I simply wanted more time to think about what to do about Map 4. I had actually started working on it earlier in the month - the old "maze" section has been ripped out now, ready to be replaced by something completely new. However, I want to make sure I get it right this time, so for now I've been focussing on other issues until I have a good enough plan for it.
And one of these other issues led me down a bit of an unexpected rabbit hole...
Engine Upgrade, Engine Issues
It's been a while since the game was last updated, so much so that three major versions of the game engine have been released (Godot 4.4 -> 4.7), with another one right around the corner. I decided the first thing to do would be to upgrade the engine, which would make things easier if I needed to install any plugins to help with level design for Map 4. I decided to do this in stages instead of jumping straight from 4.4 to 4.7 (just in case there were any major issues to solve between versions), so I started upgrading to 4.5. This went pretty well, so I moved on to 4.6, and, well...
I was greeted with this lovely surprise.


What the hell happened to the water??
Not only were there some weird rendering issues, there were also some fun errors appearing in the logs. Initially this seemed like it would be a disaster, but interestingly it later became a unique opportunity. Just a heads up, this next bit will get quite technical!
It turned out the error told me exactly what the problem was - there was a bug in the engine, but only when specific settings were enabled for a material. In this case, the water effect used both refraction and proximity fade. The former simply distorts anything behind it (like you would expect to see when looking at something through water), while the latter ensures that the water fades out when it gets close to another object (effectively creating a smoother transition). Unfortunately, when both of these settings were enabled together - poof, neither of them worked! This bug was also present in 4.7, so upgrading again didn't help.
At this point, I had a few options - do nothing and hope it would be fixed in the next version, raise an issue on Godot's GitHub repository and hope someone else would fix it, or see if I could fix the problem myself. I started with the second option as it seemed sensible, but as I was doing so I also found where the problem was in the engine's code. After raising the issue, I figured it probably wouldn't get fixed unless I did it myself - and as it turned out, it wasn't difficult to fix at all.
One pull request later, my first ever open-source contribution was merged! (Here's the link for any nerds who are interested!)
This was actually surprisingly satisfying in the end, and meant that I could safely proceed with the engine upgrade as planned, knowing that there wouldn't be any blocking issues to get the game running on Godot 4.8. The only problem now is, well, waiting for 4.8 to actually come out. It is currently in beta so hopefully that won't be too much longer.
So other than that, what else is being worked on for the next update? Well, there are a lot of bugfixes, particularly around the achievements. Speaking of which...
Achievement Icons
This may seem like a minor thing to want to focus on, however I do have a few reasons for doing so. The first is simply that, in my opinion at least, the game just feels unfinished without them. A lot of the achievement names are references to other things, and those references don't really make sense without some good icons to go with them. I have also found a lot of bugs with the achievements - some of these had been reported before, but others are new ones that I found while testing them again.
The other big reason is that it was a way of testing a new tool I've made for generating sprites from 3D models. I have shown this before in some of the previous development updates, but the way sprites are made in Haunted is by taking screenshots of 3D models, which produces decent-looking results for someone who isn't really an artist. So having a much (much) faster way of producing these sprites will be very helpful for future projects. But again... more on that later.
Here are some of the icons that have been made so far:

All That I Need - Beat the game with "Pistol Start" enabled

Forgot Something - Beat Map 12 - Descent into Darkness (Amnesia: The Dark Descent reference)

I Ran Out Of Bullets - Have at least five enemies get run over by the train

Made My Day - Kill an enemy with the Revolver after alerting them, but before they have a chance to shoot (any Clint Eastwood fans here?)

One Man's Land - Beat Map 06 - No Man's Land
And my personal favourite so far:

Oof - Get run over by the train
Let me know what you think of these new icons! I'm quite pleased with how they've turned out so far.
In addition to icons and bug fixes, I've also been revisiting the achievements menu. It sometimes displayed locked achievements a little weirdly, so I've reworked it to try and make it a bit more consistent. Plus, I've made sure that you can admire those new icons even if you haven't unlocked the achievements yet!
Put the padlock on the other side so it doesn't obscure the icons...
Next Steps
Obviously, the main thing now is to get these next few updates out. I'm hoping to have the icons done by the end of November, at which point Godot 4.8 should (hopefully) be out and I can release the first (smaller) update. Of course, there will need to be a lot of testing to make sure nothing broke with this engine upgrade as well.
Once v1.0.3 is out, the real work to fix Map 4 will begin. I'm hoping that this won't take too long, so v1.1.0 should be out by January at the latest. But what happens after that? Hmm, I keep mentioning future projects, what could that mean...?
A... Sequel?
Yeah, you heard it here first. I've decided I would like to make a sequel to this game. There's a few reasons for that - as I mentioned at the start, I'm better at making boomer shooters than other genres, and I also have Haunted: Attack of the Dead Men to prove to myself that I can actually finish one. Plus, these updates have proven quite useful as a testing ground for new tools that will help in the development of a sequel - the changes to Map 4 are being done with new level design tools (I've been experimenting with TrenchBroom and the Anvil plugin for Blender specifically), and the new achievement icons are being put together in a tool that I made to automate the task of screenshotting 3D models (which will make it a lot easier to create new enemy and weapon sprites).
I won't share much about the sequel as it's still only in the planning phase, I haven't actually started working on it yet. But the ideas are coming together and I'm excited to get started. All I will reveal for now is that it will be set in the Russian Civil War and, well, the Russians will be returning to Osowiec - which, as it turns out, is something that actually happened in the concurrent Polish-Soviet war. So it will be up to you to kick 'em out of it again!
Anyway, that's all for now. Keep an eye out for more news on the next update - there will hopefully be something next month, otherwise it will be in December.
Until then, thanks for reading!
