cocos2dx 3.0 +VS2013 环境搭建

1.需要javasdk,android sdk,ndk,python

2.各种环境变量配置如下:

JAVA_HOME:C:\Program Files\Java\jdk1.7.0_67

Path:%JAVA_HOME%\bin;C:\Python27;

CLASSPATH:.;%JAVA_HOME%\lib

ANDROID_SDK:D:\Downloads\java\adt-bundle-windows-x86_64-20140702\sdk

NDK_ROOT:D:\Downloads\java\android-ndk-r9d-windows-x86_64\android-ndk-r9d

Path:%ANDROID_SDK%\platform-tools;%ANDROID_SDK%\tools

 

http://blog.csdn.net/shun_fzll/article/details/23528825

这篇文章写的

cocos compile -p android -j 4 开的线程多的话容易ant编译错误,开2个就没事了,找这个问题找了好久。

https://developer.android.com/tools/sdk/ndk/index.html

 cocos2dx多分辨率适配方案:

http://www.2cto.com/kf/201212/175527.html

http://blog.csdn.net/w18767104183/article/details/22668939

http://www.erlangsir.com/2013/08/21/cocos2d-x多分辨率适配方案:setdesignresolutionsize使用/

http://www.cocos2d-x.org/wiki/Multi_resolution_support

cocos 文档

https://github.com/chukong/cocos-docs/tree/master/manual/framework/native/v3

cocos 官方API

http://cn.cocos2d-x.org/doc/cocos2d-x-3.0/d2/dc0/namespacecocos2d.html

牛人博客

http://blog.csdn.net/ac_huang/article/details/29391109

http://blog.csdn.net/xiebaochun/article/details/23281501

Cocos2dx 3.0 过渡篇(二) 事件回调

http://blog.csdn.net/xiebaochun/article/details/23281555

视频:

http://pan.baidu.com/s/1ntt5ZXf

coco2dx文档环境搭建 http://cn.cocos2d-x.org/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/native/v3/getting-started/setting-up-development-environments-on-windows7-with-eclipse/zh.md

cocos2dx 官方示例学习(二), Vector http://blog.csdn.net/u013177117/article/details/18228281

创建Cocos2d-x项目

进入到目录cocos2d-x-3.2alpha0/tools/cocos2d-console/bin

shift+右键在此处打开命令行 输入

python cocos.py new test -p com.coco2dx.org -l cpp -d ~/Desktop

参数说明:

  • test为项目名称
  • -p后面接包名
  • -l后面接开发语言类型,有cpp, lua, js三种类型
  • -d后面接项目存放的目录

 

 

posted on 2014-07-31 11:37  防空洞123  阅读(1041)  评论(0编辑  收藏  举报

导航