Sow what now...?



Blog Entry Part 1: The Problem

This week on Sod & Steel, I found myself facing the challenge of organizing our game's key systems. We had exciting features like player stats, game state management, and cheat codes, but the implementations were starting to spread out into many scripts, creating a bit of confusion. Keeping things clear and organized was becoming tricky, and I realized quickly that a more centralized and grouped design would be needed..

If left unchecked, this scattered setup could have led to inconsistent behaviors and made our game harder to maintain and update. My goal was to ensure our systems remained user friendly and reliable and that as we quickly blocked out our code as learning devs, that it was straightforward where everything belonged and we were all doing it the same way. i didn't like hunting down code before doing work.

Blog Entry Part 2: Problem Solution

To address this, I stepped in to create two dedicated manager classes: the statComponent Manager and the Cheatcode Manager.  I like to think of these as hubs, giving everyone on the team clear and easy tools to manage critical and super important game features.

The  statComponent Manager now centrally handles health, stamina, and buffs, streamlining how we manage player stats across the project. Meanwhile, Cheatcode Manager provides an accessible spot for integrating cheat codes and debugging tools, simplifying testing and gameplay tuning.

Implementing these managers has helped tidy up our project significantly. It keeps our development workflow smooth and makes updates straightforward. Best of all, this means players will experience consistent and polished gameplay. No more spaghetti, just a clear, organized, and enjoyable game development experience! 

Math is already hard enough so making a few more of these, allowing everyone to quickly pull data and make sure its uniform instead of tucking it away and it possibly being overwritten or hidden, is the goal. The Counsel work was different than how I would have handled the cheatcodes, but working in Slatecore really made a few tick in my brain so I am happy to learn them. 

Leaving room for the future of our space was a goal as well. Additional stats and ideas coming soon. 

Comments

Log in with itch.io to leave a comment.

Love these snippets! The trees are very Runescape-esque. Can't wait to see more!