TestExplosionEffect.java | 51 private ParticleEmitter flame, flash, spark, roundspark, smoketrail, debris, field in class:TestExplosionEffect 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) [all...] |