摘要: 1、plist文件的使用: 导入到系统缓存中。 auto pSpriteFrameCache = SpriteFrameCache::getInstance(); pSpriteFrameCache->addSpriteFramesWithFile("PersonalInfoLayer/Plist. 阅读全文
posted @ 2017-10-18 17:34 _xiaohaige 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1、cocos2d-x中的串行动作。 2、CCSequence::create(action1, action2, action3, ... actionN, ... ,nullptr);//创建一个串行动作,一个个动作会依次的执行, 这个函数是马上返回的,自己不会阻塞在这里,这个动作是在后台执行的 阅读全文
posted @ 2017-10-18 11:06 _xiaohaige 阅读(138) 评论(0) 推荐(0) 编辑