Home › Forums › TimelineFX Module › Simple Example of loading and using particle effect › Re: Re: Simple Example of loading and using particle effect
To pause a particle manager call togglepause()
MyParticleManager.TogglePause()
And just call it again to unpause it.
Maybe you can post the code where you add the effect to the particle manager, it should be something along the lines of:
local candleflame:tleffect=copyeffect(myEffectsLibrary.GetEffect("Candle Effect")
'move it to where ever it should be on sreen
candleflame.setx(50)
candleflame.sety(400)
'Add it to the particle manager
MyParticleManager.AddEffect(candleflame)
Then it’s just a case of updating and rendering the particle manager in the main loop which it sounds like you’re doing OK.