Game
Hensen Hopper

21 days ago

I've decided to have the statistics behind the quests in Hensen Hopper be handled as actions reported to the quest manager rather than try to write variables into a whole bunch of scripts solely for quests.


To put this snippet in laymans terms, any script can call the ReportAction method in the quest manager to report an action that has occurred and the quest manager will add 1 to the number of times this action has been reported (the action name is saved as a key and the times it's been reported as it's definition in a dictionary).

This way, whenever I go to create the quests themselves, I can do so relatively easily because I can call this method from any script without dirtying up THAT code. I can design quests to defeat a certain enemy X times, defeat X enemies, survive for X waves, etc. by setting the quest's internal requirement to a certain action having been reported X times then calling ReportAction from whichever area of my codebase handles that particular event in the game and comparing the values every so often (I'll probably do this in the FixedUpdate loop or better yet write an OnActionReported event in this script and call it whenever ReportAction is called so it's not being checked 50 times a second, literally)



0 comments

Loading...

Next up

This is a much larger (in terms of resolution) video than I've shared here before!!!

This is a full round of Hensen Hopper in it's current state! I mainly recorded this to showcase the new wave difficulty curve algorithm I've been working on!

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

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.

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

I am impressed by my past self right now. The algorithm behind the unimplemented dashing mechanic (that I wrote like a year ago) uses a sine wave to smoothly increase/decrease Hensen's movement speed for a dash. That is so clever! I actually wrote this!?

I've been working on the sprite for the beetle shell power-up drop! I'm thinking when you collect this one, it will kind of poof away similarly to the enemies when they're defeated and play an "equip" sound.

I wrote a modular language system! I can now add new entries with definitions in as many languages as I please and all from the inspector window in the Unity editor! This allows me to potentially have Hensen Hopper translated to other languages easily!

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

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)