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

I've worked out a process for drawing bushes that I'm using for the backdrop! First I draw the branches, then "paint" where the bush texture will be, copy it's alpha to a new layer in white, then draw it's shadows in a layer over the bush layer.

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!

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

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.

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

This is a short video showing off the new procedurally generated enemy waves in Hensen! In theory, the game will become more and more unpredictable as I continue to build and implement new enemies!!!

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.

BIG NEWS: Your Bandit can wear a Game Jolt hat and shirt in Bandit Trap!

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

It ends on March 23rd at 6 am CET!

Been working on the artwork for the "stage complete" screen all morning! Right now I'm improving the shadows/shading for Hensen because he is a part of that screen. I do need to work out the contrast between the text and the backdrop image, I know.