-
cocos2d-x 101次相遇 / 文件夹
1 安装和环境搭建 -xcode 2 Scenes 。 Director, Layers, Sprites 3 建立图片菜单 4 在HelloWorld上--建立新场景 5 添加一个精灵sprite 5.1 缩小sprite并使之完整显示 6 action ,移动sprite 7 3.0 的点击事件,CCTouchDelegate已经停用了 8 使用触摸事件移动 精灵
1 安装和环境搭建 -xcode
在xcode下使用 cocos2d-x
1 . 下载并创建项目 下载并解压 cocos2d-x-3.0beta2 (当前版本号2014年01月)
-
cd
-
cocos2d-x-3.0beta2/tools/project-creator
-
project-creator hejiasheng$ ./create_project.py
2 . 启动项目
从 xcode 里打开项目文件(start.xcodeproj)
-
/Users/hejiasheng/iOS-01/start/proj.ios_mac
-
localhost:proj.ios_mac hejiasheng$ ls -l
-
total 0
-
drwxr-xr-x 25 hejiasheng staff 85021423:01 ios
-
drwxr-xr-x 6 hejiasheng staff 20421423:01 mac
-
drwxr-xr-x 5 hejiasheng staff 1703410:08 start.xcodeproj
或者进入文件夹点击(start.xcodeproj)