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

256 views Asked by At

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!

0

There are 0 answers