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)