Upgrade System Code


I felt like I developed 80% of Sporetal during the final five days of the game jam. I was juggling programming, sprite creation, playtesting with friends for quality assurance, and managing real-life responsibilities alongside my day job, the intensity reached its peak.

Heading into Friday morning, I was in a relatively good state. My remaining tasks were integrating the sound effects crafted by DignifiedDonut, completing the implementation of the waves for level 8 in the code, and programming the entire tower upgrade system.

Earlier in the week, I had laid the foundation for the upgrades sidebar's UI. However, the actual code for the upgrades was hastily written in the final five hours leading up to the game submission deadline. In the midst of stress and pressure, I didn't really care about maintaining clean code.

I have a ton of different function in this one script that basically do the same thing.


I just felt like I had to clean this up after the game jam. I only updated the version I have on my computer and not the one I submitted, in case doing that is against the game jam rules.


Get Sporetal

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.