Flint Particle System Forum - ImageClasses Visible on Stage Sat, 17 Dec 2011 21:34:38 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=871#Comment_871 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=871#Comment_871 Fri, 24 Jul 2009 02:49:35 +0100 ventolinmono
I'm creating some particles from an array full of movie clips:
emitter.addInitializer( new ImageClasses(lista) );

At the very beginning of the movie the movieclips are displayed on the top-left corner of the stage before they are initialized at the center of the stage:
emitter.addInitializer( new Position( new PointZone( new Point ( 1024, 384 ) ) ) );

This is for one frame only.
I don't want them there i want the stage to be clean before the particles are initialized.

Here: Example

¿How can i fix this? ]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=875#Comment_875 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=875#Comment_875 Tue, 28 Jul 2009 22:14:10 +0100 ventolinmono ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=891#Comment_891 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=891#Comment_891 Sat, 08 Aug 2009 11:12:35 +0100 Richard
Sorry, been on holiday so late to the party.

Your example returns a 404 error. Have you removed it?

Anyway, it's not a problem I've come across before so I probably would need to see some code to figure out what's wrong. Can you provide a simple example?

Richard ]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=905#Comment_905 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=905#Comment_905 Mon, 24 Aug 2009 23:02:01 +0100 ventolinmono Here: Example

var listaPajaros:Array=[pajaro1,pajaro2,pajaro3,pajaro4,pajaro5];
var emitter:Emitter2D = new Emitter2D();
var fuerza:Number=-100;

emitter.counter=new Blast(500);
emitter.addInitializer( new ImageClasses(listaPajaros) );
emitter.addInitializer( new Position( new PointZone( new Point ( 1024, 384 ) ) ) );
emitter.addInitializer( new Velocity( new DiscZone( new Point( 1024, 384 ), 768, 1 ) ) );

emitter.addAction( new ApproachNeighbours( 26, 30 ) );
emitter.addAction( new MatchVelocity( 26, 100 ) );
emitter.addAction( new MinimumDistance( 10, 600 ) );
emitter.addAction( new SpeedLimit( 80, true ) );
emitter.addAction( new SpeedLimit( 100, false ) );
emitter.addAction( new RotateToDirection() );
emitter.addAction( new BoundingBox( -268, -268, 2316, 1036, 100 ) );

emitter.addAction( new Move() );
emitter.addAction( new AntiGravity ( fuerza, circulo1.x, circulo1.y, circulo1.width/2 ));

var renderer:DisplayObjectRenderer = new DisplayObjectRenderer();
renderer.addEmitter( emitter );
addChild( renderer );
emitter.start( ); ]]>
ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=909#Comment_909 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=909#Comment_909 Tue, 01 Sep 2009 08:38:28 +0100 Richard ImageClasses Visible on Stage http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=919#Comment_919 http://flintparticles.org/forum/comments.php?DiscussionID=242&Focus=919#Comment_919 Tue, 15 Sep 2009 20:12:51 +0100 ventolinmono
Thank you Richard.
Congratulations on the new version, the new renderers are very nice.

This thread is SOLVED. ]]>