Package de.zelosfan.framework.Effect

Examples of de.zelosfan.framework.Effect.SimpleParticle


//        positions.add("sizeY", 0, 0, 0, Interpolation.circle);
//        positions.add("rotation", 0, 0, 0, Interpolation.circle);
//        positions.add("alpha", 0, 0, 0, Interpolation.circle);

        for (int i = 0; i < simpleParticles.length; i++) {
            simpleParticles[i] = new SimpleParticle(Main.textureRegionObjectMap.get("particle1"), 600, _entity.offsetX + RandomUtil.getNanoRandom().nextInt(30) - 15, _entity.offsetY + RandomUtil.getNanoRandom().nextInt(10) - 5, 20, 20, 0, 1);

            simpleParticles[i].positions.add("X", 0, _entity.offsetX + RandomUtil.getNanoRandom().nextInt(80) - 40, 60, Interpolation.circleIn);
//            simpleParticles[i].positions.add("alpha", 1, 1, 40, Interpolation.linear).add(0, RandomUtil.getNanoRandom().nextInt(20), Interpolation.linear);
            simpleParticles[i].positions.add("Y", 0, _entity.offsetY + RandomUtil.getNanoRandom().nextInt(10) + 20, 40, Interpolation.circleIn).add(RandomUtil.getNanoRandom().nextInt(60) * -1, 80, Interpolation.bounceOut);
//            simpleParticles[i].positions.setDestination("Y", RandomUtil.getNanoRandom().nextInt(20));
View Full Code Here


//        positions.add("sizeY", 0, 0, 0, Interpolation.circle);
//        positions.add("rotation", 0, 0, 0, Interpolation.circle);
//        positions.add("alpha", 0, 0, 0, Interpolation.circle);

        for (int i = 0; i < 10; i++) {
            simpleParticles[i] = new SimpleParticle(Main.textureRegionObjectMap.get("particle0"), 60, RandomUtil.getNanoRandom().nextInt(30) - 15, RandomUtil.getNanoRandom().nextInt(10) - 5, 20, 20, 0, 1);

            simpleParticles[i].positions.add("X", 0, RandomUtil.getNanoRandom().nextInt(80) - 40, 40, Interpolation.linear);
            simpleParticles[i].positions.add("alpha", 1, 1, 40, Interpolation.linear).add(0, RandomUtil.getNanoRandom().nextInt(20), Interpolation.linear);
            simpleParticles[i].positions.add("Y", 0, RandomUtil.getNanoRandom().nextInt(10) + 20, 20, Interpolation.circleIn).add(RandomUtil.getNanoRandom().nextInt(10) * -1, 40, Interpolation.circle);
//            simpleParticles[i].positions.setDestination("Y", RandomUtil.getNanoRandom().nextInt(20));
View Full Code Here

TOP

Related Classes of de.zelosfan.framework.Effect.SimpleParticle

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.