Day 14: Sprite rendering optimizations
This weekend, I intended to tinker with a small Space Invaders style game. I had already developed a basic function to display sprites, but this time I needed something cleaner, faster, more optimized. In theory, the idea was simple. I wanted a rendering function capable of handling transparency, meaning it would not touch the background color, and a clean function that would only need to write 0 into the shape bank to erase the sprite, without ever modifying the color bank. ...