Hi,
Great tutorials here, I just finished the particles tutorial and using it in my space shooter game.
When my missile hits the target, it kills it and draws the particle explosion, however the particles will keep drawing until i kill another target.
I have tried to change the TTL variable, the update methods and still cant get out of the loop.
What I want to happen is to hit the target, draw the explosion and then for the explosion to die.
Have been looking around and am thinking I may need another few "time" variables like:
birthTime
maxAge and so on.
Any pointers would be a help.
Thanks all.