Help with Particle spray.
I'm not very good at all with Particle Spray, so I'm wondering if I could get some suggestions.
I'm trying to make it so that when enemies are destroyed, debris fly outs. Debris will be 4 or 5 different active objects. I want to spray all these objects as soon as the enemy is destroyed. The debris active objects will be different for each enemy.
What's the most efficient way of doing this?
Re: Help with Particle spray.
Don't worry, I'm terrible with PS too.
The way i would suggest is: create an active object, call it 'debris'. set it's movement to pinball (default dir = random), and draw each type of debris into a frame in the animation. then, when the enemy is destroyed, create a few of these objects at the enemy's position, stop the animation, and set animation frame to random. hope this helps!
Re: Help with Particle spray.
Yes, that helps a lot, thank you. I thought about doing it that way, but I thought particle spray would work out better.
Only problem I have with that method is the random frames. I need the debris to always be different from each other, so there is never the same two debris flying. I can easily do this by making separate debris active objects, but I'm just wondering if there is a better way to do this.
Thanks again.
Re: Help with Particle spray.
Ok, I got it working. A simple fast loop solved my problem.