Project RBH DevLog 0129 (Patreon)
Content
Finally got around to the visual indicator of an upgrade’s rarity.
The actual system is fairly straightforward. If the die roll says that you get a rare upgrade, then I randomize which of the four it will be. I then assign that random roll to a variable which I can use when I’m placing the upgrades in the menu as part of a conditional statement that checks its own rarity. This means that I can make any number of rarity tiers and the code foundation is already in place for it; it will choose the correct upgrade sprite and particle effect. Though, I will be reducing the size of that particle sprite because it looks too big to me.
Before I move onto reworking the upgrades with the new rarity system, I think I’m going to start working on the different starting loadouts—you may recall that I mentioned a few weeks back that I could better integrate the game’s intended feeling if the player starts out with a weapon already. I won’t yet be able to make it so that you can pick and choose from the hub like I want, but I can whip up a placeholder randomizer that gives me one of them each time I restart.
As for encouraging players to fight enemies, it was suggested that the level exit not work until all enemies are dead. While I’m not opposed to this, if an enemy gets left behind or stuck on geometry or something, it could be very annoying to have to go hunt them down.
Until Next Devlog!
-DeusVerve
DevLogs like these are brought to you by Patron(s) like Haelerin!