How to draw a gradient dashed circle like (IOS Game Peak, Peak Brain Score Screen), a dashed circle from red to green.
Thanks.
CCProgressNode *rogressNode = [CCProgressNode progressWithSprite:[CCSprite spriteWithImageNamed:@"Sprites/circle.png"]];
progressNode.type = CCProgressNodeTypeRadial;
progressNode.position = ccp(160, 220);
progressNode.percentage = 75;
progressNode.color = [CCColor colorWithUIColor:[UIColor redColor]];
[self addChild:progressNode];