newlist

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  cocos2d-x

上一页 1 2 3 4 5 6

摘要:1 //爆炸粒子效果 2 CCParticleSystem* particleSystem = CCParticleExplosion::create(); 3 particleSystem->setTexture(CCTextureCache::sharedTextureCache()->addImage("stars.png")); 4 this->addChild(particleSystem); 5 6 //火焰粒子效果 7 CCParticleSystem* particleSystem = CCPa... 阅读全文
posted @ 2013-06-07 16:50 一枚程序 阅读(2861) 评论(0) 推荐(0) 编辑

摘要: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... 阅读全文
posted @ 2013-06-07 16:22 一枚程序 阅读(3093) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6