Rufus
Rufus

Reputation: 679

How to make CAEmitterCell fade-in and then fade-out?

I am using CAEmitterLayer to emit some star images. Our clients want to change the alpha of the star from 0 to 1 , and then to 0. I know we can use alphaSpeed property of CAEmitterCell to increase or decrease the alpha, but how to change the alpha like 0 -> 1 -> 0 ? Thanks a lot!

Upvotes: 0

Views: 303

Answers (0)

Related Questions