Hi All,
This picture shows a screenshot of CCParticleSun in action:
CCParticleSun on Cocos2d in action.
The sun (regular image or a colorful circle / 2d ball) is starting from stationary position on the left and moving to the right. It leaves a trail of “fire”. On the left you can see where it was sitting before moving. I am using the same image as a particle, expect 1/2 transparent. It seems to create a burning pattern and a trace of the object behind its motion, blended with the other sprites on the screen. This is the effect I’m looking to re-create with Particle Candy.
Pixin: That’s a good thought I looked into that example. They use a long image as the tail of the comet, which works great for a comet. It would not be able to follow non-linear motion of the object, thus that won’t work for me. If speed was constant or changes smooth, I could rotate the particles, but it’s a bit too slow and clumsy for my purposes… With a different kind of image, it might work. I’ll play with the parameters to see if it would have some ideas I could use. Thanks for the tip.
Brent: Thanks for the app. I’ll continue playing with the different values.
I’m using this:
Properties.blendMode = “add” – SET TO ADDITIVE BLEND MODE (BRIGHTEN)
And it does seem to create an additive blending type effect. Is this what you referred to or is this another kind of effect?
This is not in the GUI tool you referred to, but I can probably add it there.
Unfortunately, I’m still quite far from the effect I want to create.
I think I need to create a “burned” looking pattern image for the particles, maybe set up random rotation so it looks different at different parts of the trail. Additive blending and that’s it, maybe?
Seems to me that I would need quite a few particles to create the same effect: a smooth trail like that. Especially if my object is moving fast, otherwise the trail looks not thin but broken with empty spaces. the CCParticleSun seems to create quite a smooth effect. I was hoping someone more experienced with Particle systems could open up what parameters might be needed.
These are my best guesses so far. I’ll play with these ideas for a while using the tool you mentioned.
Any experience and ideas that would help/speed up the experimentation is very welcome!
Thanks!
[import]uid: 181855 topic_id: 33683 reply_id: 134306[/import]