Game
Hensen Hopper
16 days ago

This will probably be the last thing I do today because it's getting pretty late (by my standards since I work very early mornings) but I've gotten the internal implementation for the beetle shell power up working already!!!


It was surprisingly simple honestly. First I added a damageAbsorptionPoints property to the PlayerController script along with a method to add damage absorption points (which also clamps the amount the Player can carry to a max of 3) and modified the TakeDamage method to ignore the damage reduction and instead decrement the player's absorption points if there are any greater than zero of them.

code_hbr4zq8nxr.png

Then I wrote what is more or less a functional implementation of an AbsorptionDrop class (which will be referred to in-game as the beetle shell) that simply adds 3 absorption points when collected. This drop expands upon the same abstract Drop class as the health drops do already.

image.png

Next time I'm off work I'll probably clean up this code a bit in any ways that future me notices that present me does not see as well as work on some art and effects related to this power up!



2 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 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.

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

Last week at LVL UP EXPO, we celebrated great games made by Jolters including Baldi's Basics Plus by @BasicallyGames !

Buy it on Game Jolt: https://gamejolt.com/games/baldis-basics-plus/481026

Thanks to Razer for providing the laptops and peripherals!

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!

Quests inspired by @WhitethornGames ' Spray Paint Simulator entered your quest log!

Bring color to the world! Restore worn-out surfaces with a fresh coat of paint & watch them come back to life.

Play the free demo to get started: https://bit.ly/spraypaintsimdemo

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!

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)

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

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.