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've more or less finished off the beetle enemy's animations now. Here's a short video showing the defeat animation as well as how it currently looks in-game. I still need to work on an effect for when the shield breaks, though.

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!

FIRST ACTUAL EDIT USING DAVINCI RESOLVE!!! Also, FINALLY, here's that clip of the beetle's idle animation I promised a while ago.

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!

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!

Here's a short demonstration of the beetle shell power-up in-action! It's not very obvious what it does at the moment because I still need to work on a lot of the effects for it, but the functionality is there if you pay attention to the health bar!

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

Which game from last week's Summer Game Fest are you most excited to play?

Tell us in the comments below!

(You can see all the games in the article)

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.