|
|
(同じ利用者による、間の59版が非表示) |
行1: |
行1: |
− | ==AndroidStudio準備==
| + | [[Cocos2dx/インストール]] |
− | [[Android/開発環境/AndroidStudio/インストール]] [ショートカット] | + | |
| | | |
− | ===NDKインストール===
| + | [[Cocos2dx/プロジェクト作成]] |
− | tools/SDK manager/NDKにチェックを入れてインストール
| + | |
| | | |
− | ===antインストール===
| + | [[Cocos2dx/プロジェクト実行android]] |
− | macの場合
| + | |
− | $ brew install ant
| + | |
− | $ ant -version
| + | |
− | Apache Ant(TM) version 1.10.1 compiled on February 2 2017
| + | |
| | | |
− | ==Cocos2dxダウンロード==
| + | [[Cocos2dx/プロジェクト実行ios]] |
− | http://www.cocos2d-x.org/download
| + | |
| | | |
− | cocos2d-x-3.14.1
| + | [[Cocos2dx/開発統合環境]] |
| | | |
− | ==Cocos2dxインストール==
| + | [[Cocos2dx/androidとiOSの切り分け]] |
− | $ mv cocos2d-x-3.14.1 /Users/test1/src/cocos2d-x-3.14.1
| + | |
− | $ ./setup.py
| + | |
− | そのまま同意してinstall。
| + | |
| | | |
− | ==Cocos2dxインストール確認==
| + | [[Cocos2dx/向き]] |
− | 適切に入ってるか確認
| + | |
− | $ vi ~/.bash_profile
| + | [[Cocos2dx/型]] |
− | # Add environment variable COCOS_CONSOLE_ROOT for cocos2d-x
| + | |
− | export COCOS_CONSOLE_ROOT=/Users/test1/src/cocos2d-x-3.14.1/tools/cocos2d-console/bin
| + | [[Cocos2dx/配列]] |
− | export PATH=$COCOS_CONSOLE_ROOT:$PATH
| + | |
− |
| + | [[Cocos2dx/Log]] |
− | # Add environment variable COCOS_X_ROOT for cocos2d-x
| + | |
− | export COCOS_X_ROOT=/Users/test1/src
| + | [[Cocos2dx/キャスト]] |
− | export PATH=$COCOS_X_ROOT:$PATH
| + | |
− |
| + | [[Cocos2dx/char]] |
− | # Add environment variable COCOS_TEMPLATES_ROOT for cocos2d-x
| + | |
− | export COCOS_TEMPLATES_ROOT=/Users/test1/src/cocos2d-x-3.14.1/templates
| + | [[Cocos2dx/std::string]] |
− | export PATH=$COCOS_TEMPLATES_ROOT:$PATH
| + | |
− |
| + | [[Cocos2dx/std::vector]] |
− | # Add environment variable ANDROID_SDK_ROOT for cocos2d-x
| + | |
− | export ANDROID_SDK_ROOT=/Users/test1/Library/Android/sdk
| + | [[Cocos2dx/if]] |
− | export PATH=$ANDROID_SDK_ROOT:$PATH
| + | |
− | export PATH=$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools:$PATH
| + | [[Cocos2dx/for]] |
− |
| + | |
− | # Add environment variable NDK_ROOT for cocos2d-x
| + | [[Cocos2dx/property]] |
− | export NDK_ROOT=/Users/test1/Library/Android/sdk/ndk-bundle
| + | |
− | export PATH=$NDK_ROOT:$PATH
| + | [[Cocos2dx/method]] |
− |
| + | |
− | # Add environment variable ANT_ROOT for cocos2d-x
| + | [[Cocos2dx/Form]] |
− | export ANT_ROOT=/usr/local/Cellar/ant/1.10.1/bin
| + | |
− | export PATH=$ANT_ROOT:$PATH
| + | [[Cocos2dx/Label]] |
| + | |
| + | [[Cocos2dx/ScrollView]] |
| + | |
| + | [[Cocos2dx/EditBox]] |
| + | |
| + | [[Cocos2dx/MenuItemImage]] |
| + | |
| + | [[Cocos2dx/画面遷移]] |
| + | |
| + | [[Cocos2dx/遅延実行]] |
| + | |
| + | [[Cocos2dx/AndroidNative連携]] [dir] |
| + | |
| + | [[Cocos2dx/広告組込]] [dir] |
| + | |
| + | [[Cocos2dx/非推奨コード]] |