The Refactoring Update


Sometimes you have to go backwards to move forward.

Up until this point,  the majority of the combat in Simstrat was hard-coded. Each Troop type had its own code, and each Troop had to be hand-placed into the Battle scene. I have been working hard to rework and refactor the project structure and code to make it more scalable.

Even though the combat mechanics haven't changed much, under the hood it has been almost entirely rewritten. All of the Troops are created through scripting, and the Troops all stem from a shared code library. This means that creating new Troop types or battles with different numbers and types of Troops will be so much easier. I even created a new Godot project for all of this, all that old code is left behind!

I have also been working on prototypes for the overworld section of the game. It isn't in this this update, but hopefully it will be in the next one. I'm working hard to understand the UI nodes in Godot, because they will be important for the broader scope of the game outside of combat.

Thanks for reading. I'll update again soon!

Files

2-7-25.zip Play in browser
2 days ago