Project RBH Devlog 0032 (Patreon)
Content
Not a whole lot to show this week but I do have something interesting.
My first automatic drone!
This little guy shoots at any enemies that get close enough, though it’s shooting range and aggressive range aren’t the same as you can see here.
It’s based on the Level 2 Bubbler from Cave Story, though for accuracy I need to tweak it a little so that the bullets reach a complete stop before deleting.
You may have also noticed something unusual about the spread of the drone’s shots. Namely, the fact that there’s a spread to the drone’s shots. That’s right, I’ve added bullet spread to the game! Specifically, to this one drone and nowhere else, though that may change.
It’s pretty simple, actually. I randomize a variable between the negative and positive of a number, (in this case, randomized between -5 and 5) and then add the random variable to the Direction variable that determines where exactly the bullet flies. This also means that I can do some magical maths to make drones more accurate as a possible upgrade.
There’s a little bugfixing I have to do with these drones, but overall I’m quite pleased with how they’re coming along.
Until next Devlog!
-DeusVerve
Special thanks to my Tier 3 Patrons, Haelerin and Christos Kempf!