- The emission rate of ParticleEmitters can be set as particles per second (instead of particles per frame).

- Particles that are outside the sub aren't visible inside hulls even if they overlap with the sub.
- ParticleManager takes the movement of the particles into account when determining which particles to cull. For example, a particle that will move upwards can be emitted even if it's below the camera view.
This commit is contained in:
Joonas Rikkonen
2017-08-20 19:05:25 +03:00
parent 3c0f099448
commit 4a460ff150
9 changed files with 94 additions and 38 deletions
@@ -270,8 +270,8 @@
<StatusEffect type="OnUse" target="This" IsOn="true"/>
<StatusEffect type="OnActive" target="This" Condition="-1.0">
<ParticleEmitter particle="flare"/>
<ParticleEmitter particle="bubbles"/>
<ParticleEmitter particle="flare" particlespersecond="30"/>
<ParticleEmitter particle="bubbles" particlespersecond="30"/>
</StatusEffect>
<StatusEffect type="OnBroken" target="This" IsOn="false"/>