Flint Particle System Forum - Using multiple particles from 1 emitter, (and adding rotation/opacity)2016-06-02T04:50:42+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Using multiple particles from 1 emitter, (and adding rotation/opacity)http://flintparticles.org/forum/comments.php?DiscussionID=581&Focus=1977#Comment_19772012-12-12T20:04:21+00:002016-06-02T04:50:42+01:00steelcurtn75http://flintparticles.org/forum/account.php?u=643
So I'm somewhat of an AS3 noob anyway, but I'm trying to figure out how to use Flint. Basically I have 6 different particles in my library (called scent_01, scent_02, etc). I would like each of these ...
I'd also like them to rotate slightly and vary in opacity. Any help?
emitter.addInitializer( new ImageClass( scent_01 ) ); emitter.addInitializer( new Position( new PointZone( new Point( 150, 100 ) ) ) ); emitter.addInitializer( new Velocity( new DiscZone( new Point( 0, 0 ), 100, 50 ) ) );
emitter.addAction( new Move() );
emitter.start();]]>
Using multiple particles from 1 emitter, (and adding rotation/opacity)http://flintparticles.org/forum/comments.php?DiscussionID=581&Focus=1997#Comment_19972013-01-20T12:20:12+00:002016-06-02T04:50:42+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
var emitter:Emitter2D = new Emitter2D();
var renderer:DisplayObjectRenderer = new DisplayObjectRenderer();
addChild( renderer );
renderer.addEmitter( emitter );
emitter.x = 15;
emitter.y = ...
var emitter:Emitter2D = new Emitter2D();
var renderer:DisplayObjectRenderer = new DisplayObjectRenderer(); addChild( renderer ); renderer.addEmitter( emitter );