Saturday 24 January 2009

Particles

Hello blog!

So I finally got around to porting my particle engine to Actionscript 3 last week. You can see a little test swf here.





What I particularly like about my engine is that it allows behaviours to be defined in XML. Which means the code stays nice and clean (you just create an emitter, give it an XML file and start it up), but more importantly that a non-programmer can tweak particle effects to their heart's content.

To give you an idea, here is the XML for the emitters in my test - both the one attached to the mouse pointer, and the one when you click.

No comments:

Post a Comment