
ccBlendFunc cbl = {GL_SRC_ALPHA, GL_ONE};
Sprite *sprite = Sprite::create("128_00002.png");
sprite->setPosition(100,300);
sprite->setBlendFunc(cbl); //滤色
this->addChild(sprite);
http://blog.csdn.net/st75033562/article/details/29574939
版权声明:本文博客原创文章,博客,未经同意,不得转载。