D | TestExplosionEffect.java | 51 private ParticleEmitter flame, flash, spark, roundspark, smoketrail, debris, field in TestExplosionEffect 90 flash = new ParticleEmitter("Flash", EMITTER_TYPE, 24 * COUNT_FACTOR); in createFlash() 91 flash.setSelectRandomImage(true); in createFlash() 92 flash.setStartColor(new ColorRGBA(1f, 0.8f, 0.36f, (float) (1f / COUNT_FACTOR_F))); in createFlash() 93 flash.setEndColor(new ColorRGBA(1f, 0.8f, 0.36f, 0f)); in createFlash() 94 flash.setStartSize(.1f); in createFlash() 95 flash.setEndSize(3.0f); in createFlash() 96 flash.setShape(new EmitterSphereShape(Vector3f.ZERO, .05f)); in createFlash() 97 flash.setParticlesPerSec(0); in createFlash() 98 flash.setGravity(0, 0, 0); in createFlash() [all …]
|