SetPixel Particle System Demo
This is a Demonstration of an AS 3.0 Particle System I am working on. Click/Drag to move the emitter.
One of the ways performance is optimized is by the use of a memory pool for all the particle objects. The emitter object determines how many particles will be on screen at any time and pre-allocates the memory needed. All the particle objects are created and stored in a queue to be used and recycled by the emitter. I used the Arrayed Queue class developed by Michael Baczynski over at Polygonal Labs.
chris:
can you post the source? or a little tut?
September 30, 2008, 12:03 pmadmin:
I do hope to release the source code eventually, but it may be a while, as it needs to be cleaned up considerably for public consumption.
September 30, 2008, 11:13 pm