Package tripleplay.particle.effect

Examples of tripleplay.particle.effect.Move


        explode.initters.add(Velocity.increment(0, 10));
        explode.effectors.add(Alpha.byAge(Interpolator.EASE_IN));
        explode.effectors.add(new Gravity(30));
        // explode.effectors.add(new Drag(0.95f));
        explode.effectors.add(new Drag(drag));
        explode.effectors.add(new Move());
        return explode;
    }
View Full Code Here


        emitter.initters.add(Lifespan.constant(5));
        emitter.initters.add(Color.constant(0xFF99CCFF));
        emitter.initters.add(Transform.layer(emitter.layer));
        emitter.initters.add(Velocity.randomSquare(rando, -20, 20, -100, 0));
        emitter.effectors.add(new Gravity(30));
        emitter.effectors.add(new Move());
        emitter.effectors.add(Alpha.byAge(Interpolator.EASE_OUT, 1, 0));
        emitter.layer.setTranslation(width()/2, height()/2);
        note(emitter);
    }
View Full Code Here

TOP

Related Classes of tripleplay.particle.effect.Move

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.