摘要: 直接上代码bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::init() ) { return false; } HttpRequest* request = new HttpRequest(); request->setUrl("http://neoimaging.beareyes.com.cn/png2/ni_png_2_1518.png"); request->setRequestType(Ht... 阅读全文
posted @ 2013-11-08 18:19 MrBlue 阅读(1786) 评论(0) 推荐(0) 编辑
摘要: 目的是要把粒子挂载到骨骼动画的某个一个部件上,其实最主要是找对位置。预览效果,左手红火,右手蓝火,很炫吧:)//initbool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !Layer::init() ) { return false; } CCSkeletonAnimation* skeletonNode = CCSkeletonAnimation::createWithFile("spineboy.json", "spineb... 阅读全文
posted @ 2013-11-08 14:03 MrBlue 阅读(8522) 评论(0) 推荐(0) 编辑