cocos2d-x項目101次相遇-安裝和環境搭建 -xcode

  1. 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月)

  1. cd

  2. cocos2d-x-3.0beta2/tools/project-creator

  3. project-creator hejiasheng$ ./create_project.py

a154e82aa34111e390edf23c91693c1b.png

2 . 啓動項目

從 xcode 裏打開項目文件(start.xcodeproj)

  1. /Users/hejiasheng/iOS-01/start/proj.ios_mac

  2. localhost:proj.ios_mac hejiasheng$ ls -l

  3. total 0

  4. drwxr-xr-x  25 hejiasheng  staff  85021423:01 ios

  5. drwxr-xr-x   6 hejiasheng  staff  20421423:01 mac

  6. drwxr-xr-x   5 hejiasheng  staff  1703410:08 start.xcodeproj

或者進入目錄點擊(start.xcodeproj)

469bc84ea34211e390edf23c91693c1b.png


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章