I have an object in my game and I would like to add a trail (large at start, and small at the end) similar to the image below:
I’ve be trying to use MotionStreak but can’t achieve the desired effect. Does anyone know how to create something similar as on the image?
If you use an Action (To or By), you could always use points along that action and make your trail.
Can you write more concrete? I’ve used Action, but it only works for discrete trail (like a snake from blocks). I couldn’t create a smooth trail like example in first post.
Actions use tweening and easing to create a smooth transition from point A to point B. Take a look here: http://cocos2d-x.org/docs/programmers-guide/actions/index.html under Easing header.