新手引导的遮罩处理
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("battle02.plist");
CCSize winSize = CCDirector::sharedDirector()->getWinSize();
CCLayerColor *layer = CCLayerColor::create(ccc4(0, 0, 0, 123));
CCDirector::sharedDirector()->getRunningScene()->addChild(layer, 5);
float scaleX = 1.0, scaleY = 1.0;
CCSprite *s = CCSprite::createWithSpriteFrameName("highlight.png");
scaleX = 100 * 2 / 10.0;
scaleY = 100 * 2 / 10.0;
s->setPosition(ccp(100, 200));
s->setScaleX(scaleX);
s->setScaleY(scaleY);
s->setBlendFunc({GL_DST_COLOR, GL_ONE});
layer->addChild(s, 6);