I'm currently making a game similar to this Nyan Cat flash game, although I'm using cocos2d. I'm having a hard time trying to make the rainbow effect:
Currently, every update call I add a piece of rainbow on screen and move it back, having also added it into a special array. When a player changes its
y coordinate I rotate all the added spites by a certain calculated value.
Honestly, it looks... not perfect and I've been wondering if there is better way?