Game
Hensen Hopper
1 year 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

Here's a before and after GIF of the re-shaded wasp enemy!

Okay, so the stages and score saving are both more or less working. Your score and high score will be saved throughout the lifetime of the application. Currently nothing saves when the game is closed, though, I'll be working on that next weekend.

Alright, I've been thinking... I wanna do a fly-off-screen when you complete a stage in Hensen Hopper (classic shmup stuff) and I COULD just hardcode it into the character controller script but I came up with a more nuanced solution.

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

Close-up of the re-shaded Hensen!

Lucky Tower Ultimate is a chaotic, comedy roguelite. Escape from an incredibly dangerous, randomly generated tower in a slapstick adventure that looks like a cartoon and feels like a joke. Slashy slashy! 

Wishlist the game now: https://bit.ly/LuckyTowerUltimate

Here's a short video showing off the improved gameplay loop and "stage complete" screen. The updated artwork for Hensen and his gun and the honey bullets can also be seen.

It's officially done! The artwork for the soldier (aka wasp) enemy has been re-shaded! This one was a lot more difficult than the other enemies because it turns out I'd flattened the image before exporting it... for some reason...

#LuckyTowerUltimate is OUT NOW on Steam and Nintendo Switch! It's your turn to become the Chosen One and rid the land of Evelius’s tower for good! https://store.steampowered.com/app/1700270/Lucky_Tower_Ultimate/

This is just about the only situation in which I'll ever do this. I almost never put multiple calls to methods on the same line but here I've logged a warning to remind furure me to do something I didn't have time to do today in a glaringly obvious way.