top of page
2024-08-30 (2).png
Writer's pictureReallyBadGames

Rewriting Game's Code Architecture and Refactoring

I have been writing tons of code and implementing tons of additions to the game with many bug fixes. With the game in a decent enough spot for now to the point it is playable and usable, I am now doing a major refactor and rewrite of the game's code architecture.


As with any time you quickly implement things you may not perfectly implement it in a way that would fit from a good code architecture pov. It is important to structure your code in a manner that is easy to debug, access, expand, and modify. While I have done a decent job at making sure the architecture isn't too bad it still could use some massive improvements and I'm sure future me will thank me for this.


I figured I would add the overhaul to the building system and adding the color palette system now that I am refactoring and rewriting the code's architecture. The new architecture will make things like these a lot easier and it will be a great fresh of air.


I will be overhauling the entire game from the terrain generation, and the player UI, to loading and saving, pretty much everything. It may take me a few days to completely rewrite this and include the new features I want to add. Plus I'll be doing some marketing here and there.


VSB01.1 is the last version before the major rewrite and is complete enough for people to mess around with while I work on the rewrite. It is best to do this early while the code base and game is small before we expand a lot.


I will do an update on all the changes with the rewrite one of those is also the block movement. I am not doing separation of concerns very well and in general, I have a ton of things I could improve. This is what happens when you're new to a game engine.

0 views0 comments

Recent Posts

See All

Comments


bottom of page