Public Devlog - Local Dungeon Plunged Into Darkness, Residents Blame 'Performance Improvements'


Howdy all, Lights Out (v0.5A) is out now for supporters, and this one turned into a much bigger update than I planned. It started as "let me fix those lag spikes" and ended with me reworking how the whole game is rendered and lit, so grab a drink, this is a long one.
First of all thank you again for all the feedback on 0.4, a lot of what's in this update comes straight from you lot telling me what felt off, and big thanks to my editor for wrangling my writing into something readable.
Lights, camera, dither
The big visual change is that the world is now pixelated, colour reduced and dithered like a PC dungeon crawler from around 1995, while the characters and enemies stay crisp and full colour on top of it. That split was the whole point, I wanted a crunchy low res world but I wanted to actually be able to see the guys, gals and non binary pals that make the dungeon what it is.
My first attempt just rendered the entire game at a low resolution, which looked great on the walls and absolutely terrible on the sprites, everyone turned to mush and many of you will remember this look from 0.2. The fix ended up being a trick with the order things get drawn in: the solid world draws first at full resolution, then a full screen effect grabs that image, pixelates it, crushes the colours down to 15-bit and adds an ordered dither, and only after that do the characters and enemies get drawn on top so they never get pixelated at all.
Because the world underneath is still full resolution, sprites still hide behind walls properly, and the dither pattern is laid out per world pixel rather than per screen pixel so it reads like hand drawn texture instead of noise.
Torch song
The whole dungeon got a lighting pass to go with the new look. Warm torchlight now pools on the walls and ceilings while the stone floors stay cold and blue-grey, and the gaps between torches are properly dark now, so your own torch actually matters.
Speaking of which, the Torch Brightness option in the settings now exists! It applies the moment you move the slider and scales each character's own torch preserving Genevieve and Thorne feeling different to play.
I did look into baking the lighting, which is the usual way to make hundreds of lights cheap, but I decided against it. Live lights can flicker, dim and change while you play, and I want to keep that freedom for where the game is heading.
Talkin bout your generation (again)
Last devlog I blamed the lag spikes on enemies pathfinding and getting stuck, and I was half right. Once I actually sat down with the profiler I found the real culprit, and it was embarrassingly small.
There was a check meant to catch enemies that got stuck on things, and it compared where they were against where they'd been on the previous frame. The problem is the threshold was so loose that every single chasing enemy counted as stuck, every single frame, so every enemy was asking for a brand new path through the dungeon 60 times a second. They now re-plan their route 4 times a second, which is plenty, and enemy heavy rooms run dramatically better. That buys me a lot of breathing room before tackling the squad system I talked about last time.
The other big one was the torches. Every torch had its own crackling fire sound and the game was mixing hundreds of them at once, including ones on the complete opposite side of the dungeon. In the busiest rooms the audio alone was costing over 20ms a frame, which is more than an entire frame's worth of time at 60fps! Now a small pool of 6 sounds follows the 6 nearest torches around, it sounds exactly the same and costs basically nothing.
On top of that torch particles now fade out at a distance and get skipped entirely when they're off screen, and wandering enemies pick spots near them to wander to instead of random points across the whole dungeon.
Settings, sliders and you
There's now a proper Graphics menu under Options so you can tune things to your machine and your taste:
  • Quality presets: Low, Medium and High, and if you're on integrated graphics the game will pick Medium for you the first time you launch it.
  • Performance options: render scale, shadows, screen effects, particle amount and detail particles.
  • Style options: pixel size, colour depth and dither strength, so you can crank the retro look up or tone it down.
  • Torch Flicker: a slider for anyone sensitive to flickering light, set it to zero and it's gone.
A nice side effect of the pixelated look is that dropping the render scale on a weaker machine barely changes how the game looks, since the world gets pixelated anyway, so low settings stay true to the art style instead of just going blurry.
Bloodsucc and other bad decisions
Lifesteal is in! Some weapons now give you back a chunk of the damage they deal as Willpower, and it's based on the damage you actually dealt, so finishing off an enemy on 5 health only heals you for those 5.
Thorne's Halberd now has 20% lifesteal, and its special attack is 20% faster with a bigger hitbox. There's also a new tincture at Cinnamon's cart called Bloodsucc that heals you as you hit things, but it thins the blood so you take more damage while it's active. It stacks with weapon lifesteal and it's priced cheap on purpose, it's a gamble for the aggressive players out there.
Enemies had effectively 2 opportunities to hit players so I have corrected this little oversight, if there were instances where enemy hitboxes felt a little funky it should feel a lot better now.
I also fixed enemy hit protection not working, stagger immunity not working, defeat screens showing the wrong attacker or just "Unknown", enemies freezing in place if they didn't have a death sound, and enemies still landing their swing after you'd already killed them, which led to some very rude trades.
Getting their teeth back
With enemy damage opportunities halved, a couple of the girls needed their teeth back.
The Satyr Huntress was in a pretty good spot, but with all the dungeon generation changes she was losing her identity as the ambush predator that guards loot. She's now a lot faster in combat and will outrun you early in a chase unless you've got a tincture or you're good at bunnyhopping. To balance that she now staggers for much longer when hit, which gives slower characters like Genevieve a proper window to make some distance.
The Mime-ic adds a lot of variety and risk to a run, but she wasn't quite as lethal as I had in mind. Her kiss hits a lot harder and a lot more often now, and her lasso comes out about twice as often, because a lasso you rarely see isn't scary. She's also twice as likely to want a fuck instead of a fight, so there's that.
Genevieve's sword got some love too, swinging it doesn't slow her down nearly as much anymore.
Number go down, monkey brain sad
Relief scenes no longer cost Stamina, but you now have to hold K for longer to trigger one.
The original idea was that traps should still be a real punishment so you'd stay wary of them, and Stamina potions were common enough that spending a bit on relief wasn't a big deal. What I couldn't get around was the psychology of "number go down, monkey brain sad", people just weren't using relief because it felt like losing.
The longer hold keeps the danger where it belongs. If you step on a trap in the middle of a fight or in a bad spot you're gonna have a real bad time, because you can't stand still that long while getting hit, but if you're somewhere quiet you can clear the debuff for free.
New faces, old haunts
There are two new scenes in this update, Vesper and Genevieve, and Thorne with the Twins, and you'll find both of them by flirting. The audio for both is placeholder for now and the full versions will come by the time this update is public.
There's also a new room added to the dungeon generator that shows up in every dungeon.
It came to me in a dream (again)
None of this is promised yet but here's where my head is at for combat going forward.
I've been playing a lot of Warcraft 3 again and I've fallen back in love with how it does damage, a base number plus some dice, so a weapon might do 10 + 2d10. You can never quite tell whether the next hit is the one that finishes an enemy off, and I think that little bit of uncertainty is perfect for a roguelike dungeon crawler. On top of that I'm thinking crits from floor 2 onwards, where a crit maxes out the dice, so swingy weapons like the halberd get huge spikes while more precise weapons stay reliable.
That'll tie into weapon upgrades that scale damage and eventually add effects, and more enemy variants, because the satyr cast has shown me just how much I can do with one design core.
Enemy damage will stay consistent though. Getting lucky is exciting, getting one-shot from full health by a lucky roll just feels unfair.
Playtest playtest playtest!
As always if you find a seed you love share it, and if you find one that breaks even better, grab it from the console log so I can load your exact dungeon and see the problem for myself. If you'd like to help playtest, join the Bikini Lounge on Discord and send me a message, it's those little hard to reproduce bugs I need the most help with.
If you're not already, please consider supporting the project, supporters get every update early and it would mean the world to me to keep doing this. Go explore every corner of the dungeon, and as always, watch where you step.