Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
TNT Particle Engine 1.13 — Gideros Forum

TNT Particle Engine 1.13

piepie Member
edited May 2015 in Code snippets
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

Likes: MikeHart

+1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.