标签:
1、粒子效果
CCParticleSystem*sp = CCParticleSnow::create();
sp->setTexture(CCTextureCache::sharedTextureCache()->addImage("f.png"));this->addChild(sp);
2、Plist文件
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("all.plist");
cannon = CCSprite::createWithSpriteFrameName(cannonPath);
标签:
原文地址:http://blog.csdn.net/scboyhj__/article/details/46324735