Tuesday, July 24, 2007

Game updated: Asteroids

After a lot of rewriting and optimizing code for Flippuzzle I felt like I needed to look at something else to keep my mind a bit sane, so I did a revisit to my Asteroids game. Since I spent the last three days optimizing rendering code, that's just what I continued doing with Asteroids.

The main bottleneck was the smoke rendering, but with some nice special case code to stiffen up the entity-management and smaller smoke textures I managed to double the framerate and make it much less CPU-hungry.

Play it at pjio.com.

No comments: