I have now finished the refactoring I mentioned in my previous post. This has immediately led to a drastic decrease in memory and CPU usage.
Just as importantly, it has made it easier to make changes to the appearance of the game. Adding the lives and level display was very straight forward and improving the look of it is simply a matter of getting some better art assets. I’ve also added some indicators on the walls that make it easier to see where the paddle is.
Advertisement