摘要:1 //爆炸粒子效果 2 CCParticleSystem* particleSystem = CCParticleExplosion::create(); 3 particleSystem->setTexture(CCTextureCache::sharedTextureCache()->addImage("stars.png")); 4 this->addChild(particleSystem); 5 6 //火焰粒子效果 7 CCParticleSystem* particleSystem = CCPa...
        阅读全文
        随笔分类 - cocos2d-x
摘要:1 #ifndef BASE_DATA 2 #include 3 4 class BaseData 5 { 6 public: 7 BaseData(void); 8 ~BaseData(void); 9 10 std::string saveData(char const* bytes_to_encode,unsigned int in_len);11 std::string parseData(std::string const& encoded_string);12 13 };14 15 #endif 1 #include "BaseData.h...
        阅读全文
        
 
                    
                 

 浙公网安备 33010602011771号
浙公网安备 33010602011771号