首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

xcode与eclipse调整cocos2dx

2013-08-06 
xcode与eclipse整合cocos2dx文档xcode版本是2041.在xcode中创建cocos2dx项目TestGame我的路径为/Users/zha

xcode与eclipse整合cocos2dx
文档xcode版本是  204
1.
在xcode中创建cocos2dx项目
TestGame
我的路径为
/Users/zhaoshun/cocos2dx/cocoWork/TestGame

2.
用create-android-project.sh 脚本创建 android版本的TestGame

3.
将android版本的TestGame里面的proj.android 整个文件夹拷贝到
ios版的TestGame
拷贝后的路径
/Users/zhaoshun/cocos2dx/cocoWork/TestGame/TestGame/proj.android

4.
修改
/Users/zhaoshun/cocos2dx/cocoWork/TestGame/TestGame/proj.android/build_native.sh文件

NDK_ROOT="/Users/zhaoshun/android/android-ndk-r8e"COCOS2DX_ROOT="/Users/zhaoshun/cocos2dx/cocos2d-2.0-x-2.0.4"APP_ROOT="/Users/zhaoshun/cocos2dx/cocoWork/TestGame/TestGame"APP_ANDROID_ROOT="/Users/zhaoshun/cocos2dx/cocoWork/TestGame/TestGame/proj.android"


5.
运行build_native.sh

6.
在eclipse中导入
/Users/zhaoshun/cocos2dx/cocoWork/TestGame/TestGame/proj.android/

热点排行