cocos2d-x 颜色

	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

版权声明:本文博客原创文章,博客,未经同意,不得转载。

posted @ 2015-07-26 13:33  zfyouxi  阅读(121)  评论(0)    收藏  举报