In this devlog I focussed mainly on refactoring and optimizing the code in preparation for further development.

As I’m getting ready to add more buildings and logic to the game, I felt I needed to do a bit of a clean-up first. I believe that this is a necessary step as part of the development lifecycle.

I worked on organizing the code to make it more polymorphic and easier to maintain in future.

Additionally, fixed a bug that was causing the in-game calendar to run slower when there is a sudden drop in frame rate. The same bug also affected stamina regeneration over time, and resulted in the player potentially being able to run further than they should.

I made another small change so that when starting construction on a building, the villager closest will be assigned instead of the one that was hired first.

This wasn’t a big week but even a small step forward is progress.

Categories: Devlog

Leave a Reply

Your email address will not be published. Required fields are marked *