Gamua / Starling-Extension-Particle-System

A particle system for the Starling framework, compatible with the "Particle Designer" from 71squared.com
Other
323 stars 146 forks source link

minRadius() should affect particle.emitRadiusDelta #20

Closed mimamuh closed 10 years ago

mimamuh commented 10 years ago

At the moment, the particle emitRadiusDelta is calculated without the minRadius(): particle.emitRadiusDelta = mMaxRadius / lifespan;

But it should be ... particle.emitRadiusDelta = ( mMaxRadius - mMinRadius ) / lifespan;

... to emulate the behavior of Particle Designer 2.0, I think.

PrimaryFeather commented 10 years ago

Makes sense! With the particle system I tried, the output looked much better with the updated formula. Thanks for the heads-up!