Flint Particle System Forum - Remove when faded out Sat, 25 Dec 2010 17:13:14 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Remove when faded out http://flintparticles.org/forum/comments.php?DiscussionID=256&Focus=920#Comment_920 http://flintparticles.org/forum/comments.php?DiscussionID=256&Focus=920#Comment_920 Mon, 21 Sep 2009 10:24:08 +0100 mmick66
emitter = new Emitter2D();
emitter.counter = new Random(50, 150);

emitter.addInitializer(new SharedImage(new Star(6)));
emitter.addInitializer(new ColorInit(whiteColor, whiteColor));
emitter.addInitializer(new Velocity( new DiscZone( new Point(0, 0), 300, 10)));
emitter.addInitializer( new ScaleImageInit( 0.5, 1));
emitter.addInitializer(new Lifetime(0.1, 0.2));

emitter.addAction( new Age());
emitter.addAction( new Fade());
emitter.addAction( new Move());
emitter.addAction( new LinearDrag(1));
emitter.addAction( new Accelerate(0, 30));
emitter.addAction( new RotateToDirection()); ]]>
Remove when faded out http://flintparticles.org/forum/comments.php?DiscussionID=256&Focus=926#Comment_926 http://flintparticles.org/forum/comments.php?DiscussionID=256&Focus=926#Comment_926 Fri, 09 Oct 2009 07:36:22 +0100 Richard
Sorry for the delay in responding.

I tried your code exactly and the particles faded and disappeared very quickly - in the specified 0.1 to 0.2 seconds. If it's still not working for you, can you put your swf online somewhere so we can see it failing - it will make it easier to diagnose the problem.

Thanks
Richard ]]>