Hi, i'm relatively new to cocos2d and i'm after some advise on how to do a certain animation/action. I just want to make sure i'm doing it the correct way before i start.
I have a diamond shape (with slightly rounded corners), if you image the shape is transparent and the border is say 3px in width.
I need to animate a line being drawn around the diamond over a length of time (basically filling the border with a different colour). I guess it's similar to what you may find in Zynga Poker.
Because it has slightly rounded corners as well it would be nice if that was taken into account.
What's the best way to tackle this?