CCProgressTimer *progress=CCProgressTimer::create(CCSprite::create("Icon.png"));
progress->setPosition(ccp(size.width/2-150,size.height/2));
//设置进度条的样式
progress->setType(kCCProgressTimerTypeRadial);
//设置进度值范围[0,100]
progress->setPercentage(100);
//反进度计时
progress->setReverseProgress(true);
this->addChild(progress);
//第一个参数是时间,第二个参数是表示旋转100%
CCProgressTo *progressTo= CCProgressTo::create(10, 100);
progress->runAction(progressTo);