摘要:
//不使用 CCParticleBatchNode : 注意比较 左下角的显示信息for(int i=0; isetTexture(CCTextureCache::sharedTextureCache()->addImage("fire.png")); particleSystem->setPosition(ccp(150+i*20,160)); addChild(particleSystem);}//使用 CCParticleBatchNode : 注意比较 左下角的显示信息CCTexture2D* texture = CCTextureCache::shar 阅读全文
posted @ 2013-09-03 23:47
解放1949
阅读(1001)
评论(0)
推荐(0)
摘要:
实现类CCSVParse.h#ifndef __C_CSV_PARSE__#define __C_CSV_PARSE__#include "cocos2d.h"#include using namespace std;class CCSVParse{public: //CCSVParse(void); ~CCSVParse(void); CCSVParse(istream& fin=cin, string sep=","): fieldsep(sep), cols(0) { } //用以存储数据 std::vector> d... 阅读全文
posted @ 2013-09-03 00:04
解放1949
阅读(1946)
评论(1)
推荐(0)

浙公网安备 33010602011771号