Game Development Community

Invisible Particles

by Kevin James · in Torque Game Builder · 04/21/2010 (5:18 am) · 3 replies

Is there a way to keep particle effects running while invisible?

Particle.visible = false;//effects vanish immediately - nice!
Particle.visible = true;//existing effects are still visible as they trail off - nice!

[significant time passage]
particle.visible = true;//emitters start up again, which makes it obvious they were not running while invisible (not so nice).

About the author

Hobbyist game developer -- free and open source games FTW.


#1
04/22/2010 (5:49 am)
hmm you could push them all the way to the bottom layer so that your background is covering them?
#2
04/22/2010 (8:27 am)
Good idea but the particles show through all of the layers.
#3
04/22/2010 (9:48 am)
After further review... I added an opaque layer to make this work. In fact, this approach made my code more efficient in other ways.