Home Creators Posts Import Register Favorites Logout

Content

Hi adventurers!

This is a pretty small update, a larger one is coming at the end of the week with a bunch of new content, however!

Today's update is mostly for a quick bugfix, but also because I am reorganizing the codebase and I need to ensure things run well on the new code refactor.

The tl;dr is my main script that controls and delegates most of the game, tracks the state of everything, etc. was getting large and I wanted to split this into submodules based on their responsibilities.

This makes it easier to modularize my code and makes the main manager of everything easier to debug and figure out where problems are.

You (hopefully) won't notice anything behind the scenes from this change!

Upcoming content:

These will be later this week (might be on Sunday, depends when I finish writing them!)

  • A few new scenes in the tavern will be available related to the Month of Mischief

  • A few new scenes will be added with Wish that will progress their storyline further

  • Thimble might be getting a few new scenes this week for Patrons if I have time as well

Patch notes:

  • [PUBLIC] Code overhaul

    • This is a non-visible change but I moved several functions into their own scripts based on their core responsibilities.

    • This reduced my 'main' script file from 2,200+ lines to 1,400. This will make it much easier to maintain and will be shrunk down further once I decide on where things should be bundled and moved to.

  • [PUBLIC] Adjusted memory management for game resources

    • With the game preloading assets now, I've adjusted the memory management system. It removes old, less used files when you reach around 100MB of memory to prevent memory leaks and a constant increasing size as you play.

    • This would be around 8 million words roughly, however. I don't think a single map in the game will grow to this size! Right now, Twigleaf is roughly 120k words, for reference.

  • [PUBLIC] Fixed broken variable in the Month of Mischief scenes.

    • Thanks Soman for the report!

Comments

No comments found for this post.