Pow!

I’ve created a particle system. Using some lame code, I can now make white dots explode outwards from a user-defined point on the screen. The code for doing this isn’t lame, just the code for generating the points in the first place.

Next I’m going to expand it to make it remove its own dots afterwards, removing the global cls that happens every frame (yes, every frame I paint the screen black… aren’t I lazy!). I’m also trying to work out a way to specify pretty explosion patterns, and I think the titlescreen needs a starfield on it.

In making the particle system I discovered and fixed several subtle bugs in the main code :)