Tint and Fade
testCpp code
CCProgressTo to = CCProgressTo::create;
CCActiontint = CCSequence::create(CCTintTo::create(1, 255, 0, 0),
CCTintTo::create(1, 0, 255, 0),
CCTintTo::create(1, 0, 0, 255),
NULL);
CCAction fade = CCSequence::create,
CCFadeTo::create,
NULL);
CCProgressTimerleft = CCProgressTimer::create(CCSprite::create(s_pPathSister1));
left~~>setType;
// Setup for a bar starting from the bottom since the midpoint is 0 for the y
left~~>setMidpoint(ccp(0.5f, 0.5f));
// Setup for a vertical bar since the bar change rate is 0 for x meaning no horizontal change
left~~>setBarChangeRate);
addChild;
left~~>setPosition(ccp(100, s.height/2));
left~~>runActionto~~>copy()>autorelease));>runAction(CCRepeatForever::create((CCActionInterval *)tint->copy()->autorelease()));
left
Tint and Fade no effect
2.1.1 is ok
2.1.2 2.1.3 no effect