Nicknack
10-16-2009, 04:35 PM
1. I asked it shortly once (http://forum.arianesoft.ca/showthread.php?t=1690&highlight=particles), now I need it again: endless living particles.
followig situation: I want to create every time nearly the same particle effect on a speficic event and I don't want to save all the parameters in variables. it would be faster (eg no loadsprite every time) and easier, to do Newparticle once, remember only that created handle and clone the particle on every new use.
this template-particle shouldn't be triggered, so something like pausesprite would be nice for particles.
2. apropos pausesprite, could implement a new function which combine pausesprite and showsprite(sprite,false) in one? if you use the pattern described above for sprites, you also have a template-sprite which is only there for cloning. would it too much to ask for a same new "combine" function for particles? :p
followig situation: I want to create every time nearly the same particle effect on a speficic event and I don't want to save all the parameters in variables. it would be faster (eg no loadsprite every time) and easier, to do Newparticle once, remember only that created handle and clone the particle on every new use.
this template-particle shouldn't be triggered, so something like pausesprite would be nice for particles.
2. apropos pausesprite, could implement a new function which combine pausesprite and showsprite(sprite,false) in one? if you use the pattern described above for sprites, you also have a template-sprite which is only there for cloning. would it too much to ask for a same new "combine" function for particles? :p