您现在的位置: 网站首页 → 新闻资讯
1.使用vs2012将项目编码和测试完成。2.使用adt导入 por.android 到开发工具3.设置项目的配置信息4.解决android项目库的加载F:\cocoWorkspace\game\ga...
首先使用particleDesigner.exe选择合适的爆炸效果。选择另存为.plist。手动打开.plist文件 stringExplodingRing.plist.png/string Expl...
需要引用头文件 #include SimpleAudioEngine.h //播放背景音乐头文件using namespaceCocosDenshion; //使用播放音乐命名空间然后就可以直接播放了...
//添加飞机 auto spPlane = Sprite::create();spPlane-setTag(110);spPlane-setPosition(Point(160,240));this-...
//添加背景层auto spbk = Sprite::create(background.png);spbk-setAnchorPoint(Point::ZERO);//设置以左下角开始spbk-se...
在classes 下AppDelegate.cpp中// turn on display FPSdirector-setDisplayStats(false);可以修改 项目左下角是否显示 fps信息...
Director::getInstance()-replaceScene(CCTransitionSlideInR::create(1,AboutScene::createScene()));CCTr...
如何给 cocos2d 增加一些菜单呢。比如帮助 等按钮。1.在classes右键 添加新建项 选择头文件。位置改成 项目的 Classes 目录下。...
在 game002-Classs-AppDelegate.cpp 中找到glview = GLView::create(My Game); 在create 右键 转到定义。 Rect(0, 0,960...
由于后来修复了。所以图片暂时截取不到了。通过搜索,解决方案如下:第一步,通过命令提示行工具进入VS安装目录下的%VS2012home%Common7\IDE第二部,执行devenv.exe/setup...