Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthoricd2k3
- CommentTimeFeb 9th 2011 edited
Having a strange problem I can't seem to fix. Doing my own snow simulation and it looks fine at first, then stops emitting and proceeds to emit short bursts of particles every couple seconds. FPS stays at solid 30 so I don't think it's a performance thing... Really at a loss on what could be going on. Almost looks as though it switches from steady to burst
public class MiddleEmitter extends Emitter2D {
private var _counter2:Steady = new Steady(300);
public function MiddleEmitter() {
trace("MIDDLE EMITTER");
this.counter = _counter2;
addInitializer( new ImageClass( RadialDot, 2 ) );
addInitializer( new Position(new LineZone(new Point(-5, -5), new Point(955, -5))) );
addInitializer( new Velocity( new PointZone(new Point(10,100)) ) );
addInitializer( new ScaleImageInit( 0.7, 2 ) );
addAction(new Move());
addAction(new DeathZone(new RectangleZone(-100, 0, 1050, 650), true));
} -
- CommentAuthoricd2k3
- CommentTimeFeb 9th 2011
Oops, just figured it out, my emitter zone was somewhat within the death zone, so it was killing some particles off screen that I couldn't see... always the dumb mistakes that hold me up :P
1 to 2 of 2
