Project RBH Devlog 0005 – Final Week (Patreon)
Content
Everything was going great until it wasn’t.
I had the game in a completely playable state on Thursday and then I fiddled with some settings and everything exploded. This happens sometimes in Game Development. Unfortunately, I hadn’t been quite as good at saving backups as I thought I had.
Always make backups. Always.
Losing progress this close to the deadline is really bad, but I should have the lost functionality back by the end of the day, leaving me with the rest of the week to make the art assets. This does means that some of the planned features of this build simply will not make it in, most notably the boss fight. Ah well.
As you can see, the Level Generation is working.
Ignore that they’re all wandering to the right; that’s what they do when there’s no player for their AI to chase. Also I have to put them in the other rooms as well.
Gameplay wise pretty much the only thing left to do is to add the level exit to the dungeon so that you can proceed further and further in. And if there’s time, to have the Game Over Screen tell you how far you made it when you died.
But this week is pretty much all dedicated to the art and sound effects. I don’t have the time or skill to make music and sound from scratch so I’ll be nabbing some Royalty Free sounds from somewhere or other, but all the art will be my own.
Back on the topic of what I got done last week, implementing the new code went so much smoother than I ever could have hoped, and I had that more or less working by Monday. By Tuesday I had it set up to replace the walls and obstacles with autotiles, so all the walls look seamless. I also did a quick experiment on perspective so I can recreate that Link to the Past look for dungeon walls.
After that was some room control. I whipped up a few quick spawners for enemies—one for the rank-and-file grunts who swarm you and one for Support Units like the missile turrets. That way I can completely randomize what enemies the player will encounter while at the same time having total control over enemy squad composition.
Fiddling with the upgrade drop system was a little more complicated. My first idea was the same as the enemy spawns, but with a high chance of just not spawning anything. The problem is that having a possible chest in every room means that one or two floors is all it takes to get some frankly absurd bullet patterns.
My replacement code is to randomize a number between 1 and 3, weighted towards 1, and spawn that many chests randomly throughout the floor. This is sadly some of the code that I lost but it’s not very complicated so recreating it shouldn’t be hard.
I’ve also got to put the Door Spawn code back in so you can actually proceed further. It’s actually pretty clever if I do say so myself. The code checks the room in the furthest corner from the player—hard coded by me; it can’t detect that—and finds an open spot within that room to make the door. The Door takes you to a connecting room with a free chest inside and another door that takes you back to the dungeon room, which automatically generates a whole new dungeon.
The best part is that all the variables are editable on the fly so I can freely customize pretty much everything. It’s great!
So by the end of the day I should have the absolute barebones of a roguelike, ready for some actual art assets.
One Week to go.
Until next Devlog!
-DeusVerve
Special thanks to my Tier 3 Patrons, Haelerin and Christos Kempf!