This is my 2D particle system I'm working on in XNA. Basically you set up an emitter, tell it how many particles you want it to manage, how many particles it's allowed to spawn per update, and the lifetime for particles.
The emitter manages the particles after that, and you can move the emitter around as it pops out particles at random speeds.
It also supports "enabled" status which is whether or not the emitter is being drawn. And "active" which is whether or not the emitter is spawning new particles. You'll see me use both of those features in the video.
Oh, and I wrote this in the matter of maybe 5-6 hours.
-Corwin VanHook
cool cool!!!!
xokitsune 4 years ago