Lines Matching defs:flash
51 private ParticleEmitter flame, flash, spark, roundspark, smoketrail, debris,
90 flash = new ParticleEmitter("Flash", EMITTER_TYPE, 24 * COUNT_FACTOR);
91 flash.setSelectRandomImage(true);
92 flash.setStartColor(new ColorRGBA(1f, 0.8f, 0.36f, (float) (1f / COUNT_FACTOR_F)));
93 flash.setEndColor(new ColorRGBA(1f, 0.8f, 0.36f, 0f));
94 flash.setStartSize(.1f);
95 flash.setEndSize(3.0f);
96 flash.setShape(new EmitterSphereShape(Vector3f.ZERO, .05f));
97 flash.setParticlesPerSec(0);
98 flash.setGravity(0, 0, 0);
99 flash.setLowLife(.2f);
100 flash.setHighLife(.2f);
101 flash.setInitialVelocity(new Vector3f(0, 5f, 0));
102 flash.setVelocityVariation(1);
103 flash.setImagesX(2);
104 flash.setImagesY(2);
106 mat.setTexture("Texture", assetManager.loadTexture("Effects/Explosion/flash.png"));
108 flash.setMaterial(mat);
109 explosionEffect.attachChild(flash);
249 flash.emitAllParticles();
267 flash.killAllParticles();