Blood effect w/ particles
I currently have it set so that when the actor [player] overlaps/collides w/ actor [spike], to destroy the player & go to the title screen, I have my parameters set relative to actor, but the particles aren't visible.
Please help
Thanks
Please help
Thanks
Best Answers
-
tenrdrmer Posts: 9,934
Try changing the alpha to zero instead of destroying. When you destroy the actors there is no longer a particle rule to run. -
JohnPapiomitis Posts: 6,256
as soon as the actor gets destroyed with the particle behavior in it, it will stop creating particles and they will disapear.
Changing the self.color.alpha to 0, will make the actor invisible. So it will apear to be destroyed but actually didnt so you can still see the particles. You can do that, or have seperate particle actor and spawn that before you destroy the original one. -
MotherHoose Posts: 2,456
@Nmdogdude …
1. Would it still work if had the destroy actor rule as the last behavior?
no … because the particle behavior would fire and immediately after the actor would destroy along with the particle effect
you can put the Destroy Behavior in a Timer: After: the seconds you want
though if you are changing the scene the actor is effectively destroyed
(you will want the changeScene in a Timer … so particles display)
so might be best to change the actorImage or:
2. And what do you mean "change alpha to zero"?
Change Attribute behavior [Expression] self.Color.Alpha To: 0MH
Answers
And what do you mean "change alpha to zero"?
thanks tenrdrmer & Johnpapiomitis