Reply To: monkey module
Home › Forums › TimelineFX Module › monkey module › Reply To: monkey module
peterigz
Hi Dave,
The life attribute describes how long each particle will be alive for, but if the amount attribute is always set to spawn particles then it will just keep spawning them. I’m not sure the exact problem you’re having there though, do you keep creating the emitters in game? If the amount is set to keep on spawning particles then the effect won’t die and be cleared up by the particle manager.
An effect will keep on running as long as the emitter is spawning particles. So as long as the amount attribute is anything other then 0 on the final node (or only node if there is one) then the emitter will just keep going until you kill it in your program. So you only need to add it once to the particle manager, so this will work for a star field. I have a more complex example I can add to the module that uses a star field so I’ll add that soon.
There’s currently no way of stopping all effects that are running, but I can add that easy enough.
With regards to flash I need to check to see which characters are not allowed in flash. I’m sure I do replace spaces, but maybe there’s others. Do you use the Export option from the file menu to export the effects? That should export as a zip and rename any files that have spaces.
I think the demo might be out of date, I need to update that.