Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthormagico
    • CommentTimeDec 24th 2008
     
    Do you know what happen to waves when the crush on rocks?
    The water particles separate, go up and other sides.

    I really don't know how to do this. And it's the first time I'm using one particle system.

    Regards,
    Fernando
    • CommentAuthormagico
    • CommentTimeDec 30th 2008
     
    I'm trying to do something like this
    http://www.zeuslabs.us/demos/particles/Fountain.html

    I've already made the following:
    var emitter:Emitter2D = new Emitter2D();

    emitter.counter = new Steady(50);

    emitter.addInitializer( new ImageClass( RadialDot, 5 ) );
    emitter.addInitializer( new Position( new PointZone(new Point(stage.stageWidth / 2, stage.stageHeight))));
    emitter.addInitializer( new Velocity( new PointZone(new Point(0, -100))));

    emitter.addAction( new Move() );
    emitter.addAction( new RandomDrift( 100, 100 ) );
    emitter.addAction( new Fade(100, 0));

    var renderer:DisplayObjectRenderer = new DisplayObjectRenderer();
    renderer.addEmitter( emitter );
    addChild( renderer );

    emitter.start();
    • CommentAuthormagico
    • CommentTimeDec 30th 2008
     
    Well, I researched a little more, and it would be the example "Fountain" in 2D instead of 3D...
    • CommentAuthorRichard
    • CommentTimeJan 7th 2009
     
    Sounds like you worked it out. Were there any problems converting the fountain to 2D?