Pulse Particles is a general purpose AS3 particle system.
Features
- Configurable rule based particle behavior.
- Easily extensible
- Both a full featured object orientated syntax, and a simplified quick object syntax.
- Flash .mxp extension for easy integration for designers.
- Interactive particle explorer to create effects
Downloads
Particle Explorer (swf only link)
Documenation
Getting Started - Some quick, commented, code examples showing you how to get started.
ASDocs (Autogenerated from latest source)
System Architecture - Some notes about the pieces of the Pulse Particle system.
Video Tutorials
- Integrating Pulse Particle system into the Flash IDE (Alternate Download)
- Explorer introduction - Part 1
- Explorer introduction - Part 2
Examples
A demo showing off a few of the possible effects is below. Click the example to manually cycle. The code to make those effects is linked from the "more examples" page.
Particle Explorer
The Particle Explorer is an important tool for designing particle effects and is one of the great advantages to the Pulse Particle system. It allows you to interactively set up your particle effect and view changes in real time.
- Various configuration options for the particles
- The resulting config-object that those options make, you can pass that to SimpleParticles to create the effect in your application.
- A live preview of the particle effect
If you're using the Flash authoring environment you can use that configuration directly. Learn how.
To use one of these particles in Actionscript, do something like this (the arguments to createEmitter come directly from the particle explorer):
import com.roguedevelopment.pulse.simple.SimpleParticles;
import com.roguedevelopment.pulse.PulseEngine;
...
PulseEngine.instance.root = this;
SimpleParticles.createEmitter( {pps:10,x:153, y:286,image:spark,
movement:true, minSpeed:199,
maxSpeed:216, minAngle:211,
maxAngle:219, minScale:0.8,
maxScale:1, pointSwarm:[100,100], lifespan:5000} );
License
This component is licensed under the MIT license.
Copyright (c) 2008 Marc Hughes
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Rogue-Development.com