Hi, I made a little improvement to TNT Particle Engine by
@GregBug:
Particles can be emitted also with a fixed delay (= maxStartupDelay) .
Just use "
Y" as the last parameter (fixedDelay) to CParticles.new()
Usage:
particle = CParticles.new(particlesSprite, particlesMax, particlesMaxLife, particlesMaxStartupDelay, blendingMode, [
fixedDelay])
if fixedDelay == nil or "everything else" the particles will be emitted with a random delay time, between 0 and particlesMaxStartupDelay (like in previous releases of TNT Particle Engine)
I put it here for everyone to use it and improve it further...
https://github.com/piretro/TNT-Particle-Engine-for-Gideros