Game
Hensen Hopper
1 month ago

I've replaced the health text on the upper-left corner of the HUD with a healthbar!


image.png

Imagine a heart sprite, which I'm gonna get to work on immediately after I post this, in place of that white square. The health bar depletes as Hensen looses health, pretty much as you might expect.

image.png

It's also fully functional! I've updated the health section of the HUD manager script to, rather than change the text as it used to, re-size the health-bar rect to the player's current health ratiod to their health at the start of the game multiplied by the width of the health bar, which is a serialized field incase I want or need to change that later.

If you're wondering why I created a local variable for the player's current health, it's solely because it feels like a waste of complexity to have my code create a function frame for 5 different calls to playerController.GetHealth() that all return the same value.



0 comments

Loading...

Next up

I added the leaf shield to the beetle since the last time I posted to Game Jolt! I've also added a detail where it deteriorates over time as you strike it with bullets which I think is a nice touch! Yes, it's a separate sprite from the beetle himself lol.

I've been working on the sprite for the beetle shell power-up drop! I'm thinking when you collect this one, it will kind of poof away similarly to the enemies when they're defeated and play an "equip" sound.

The beetle shell is now fully VISUALLY implemented! Next thing on my list is a unique sound for Hensen equipping it.

LGBTQ+ Game Dev Icons:

David Gaider is a dev who worked on Dragon Age, Star Wars: Knights of the Old Republic, and more! (He's also openly gay.)

As part of his work on KOTOR, he created the Sith Code!

I've been working on some proper visual art for the beetle shell when it's equipped! I've also gone ahead and drawn a break animation for it. All I need to do now is actually set all of this up in Unity which I'll probably do on Tuesday.

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

I DID end up making the body and elytra both 1 cycle/s and the wings 6 cycles/s. I'm working on a video of the animation itself playing in the Unity editor so you guys can see it properly. I think it turned out well!

Okay so fast forward ~2 and a half hours of work and I've gotten an effect to play when the shield breaks! There is a sound effect too but for some reason it sometimes doesn't play... Need to figure THAT out now... v0.2.1 is on the way today!

Our newest Pride month quest has begun! 🏳️‍🌈 Celebrate with us by completing this quest!

Okay, so I've gotten the functionality for the beetle shell render over the player working! (using the first 3 frames from the beetle shell collect animation as placeholder sprites, these ARE NOT the final sprites)