Game
Hensen Hopper

4 months 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

THE SPIDER IS COMING

HIS HANDS ARE ANIMATED NOW!

Working on animating the spider! Like I did with Hensen and the other enemies, I'm doing it in layers, starting first with the web and now with the propeller thingy on the back.

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

AAAAAAA! The spider is coming along!!! I'm actually quite proud of the way this turned out! I'm planning to take a break for a bit but I am ALSO gonna add some more idle movements to the spider and then apply some drop shadows and it'll look a ton better.

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 effectively phased out the profile selection menu, or, well, TECHNICALLY not. The profiles system is still there, it's just invisible now. There is only one profile that's either created or loaded on game start. No more profile choosing.

He has hands now!

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

Officially gotten started with the spider!!!!!!!!