Particles - explode not drop and fade?
CaddoMoney
Member Posts: 13
I've been playing around with the particle engine a bit, right now when an actor is destroyed, the particles "drop" out of it towards the bottom of the screen, is there an easy way to make them shot out from the actor in all directions and then fall, much like a firework explosion? I'm sure that there is but physics was a long, long time ago and apparently I need to order Physics for Dummies.
As the particles move towards the bottom of the screen I'd like for them to fade, I figured that I could set the Color.Alpha of the actor to Color.Alpha.1 but I'm not sure how to track it's travels along the Y axis?
I'm really learning a lot here and I thank all of you for your past posts and current ones. Thx again!
As the particles move towards the bottom of the screen I'd like for them to fade, I figured that I could set the Color.Alpha of the actor to Color.Alpha.1 but I'm not sure how to track it's travels along the Y axis?
I'm really learning a lot here and I thank all of you for your past posts and current ones. Thx again!
Comments
You could also use three (or more) particle effects per firework, one for up, one for up-left, and one for up-right. That may yield more realistic effects. Not sure if one actor can support many particle effects, if not, user three actors and constrain their positions together.
Anyone have any thoughts on how to make the particles fade as they drift towards the bottom of the screen?
Thx again.
For a fade-out effect, look under Color. There's a drop-down menu that by default says "Color does not change," select "Color changes to" instead. Then you can choose which color to change to -- probably transparent in this case (drag the opacity slider to zero).
Particles:
Spawn Rate Tab
Number of Particles 15
Particle Startup Time 1
Particle Lifetime 4.5
Velocity/Position Tab
Direction: random(0,360) Relative to Actor - Affected by Gravity Checked
Speed:random(20,200)
Rotation Tab
Angular Velocity: random(10,40)
Thanks again for all of your help!