Game
Hensen Hopper
11 months 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

Close-up of the re-shaded Hensen!

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.

I've been working on the backdrop today! Among other things I've done, I made a bush! I know, SOOOO impressive lol.

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

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.

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

I did get a lot more done on the backdrop yesterday, by the way! It's not finished by any means, in fact, it's quite empty and even ugly in some places, but it's beginning to come together!

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.

This week's Fan Art Friday celebrates Bandit Trap! Accept the quest in your quest log to get started.

Defend your home or steal treasure in the open beta: https://bit.ly/BanditTrapBeta

Very unfinished but the backdrop image, as it is in this video, is already leagues better than what I had last weekend! I'm going to work on it incrementally over the coming weeks as I work on implementing the stages idea I talked about before!