Help us understand the problem. What is going on with this article?

cocos2d-x 2.1.5インストール方法

More than 5 years have passed since last update.

その1 インストール

http://www.cocos2d-x.org/ にアクセス
downloadからzipをダウンロードしてzip展開。
(現在stableはv2.1.5)

その2 XCode用テンプレート作成

インストールしたフォルダで以下コマンドを実行

$sudo ./install-templates-xcode.sh

XCodeでNew>Projectでcocos2d-xの項目があったらインストール成功です。
おわり。

その3 プロジェクト作成

インストールしたフォルダで以下コマンドを実行

$cd tools/project-creator/
$./create_project.py -project [project_name] -package [package_name] -language [cpp|lua|javascript]
proj.ios : Done!
proj.android : Done!
proj.win32 : Done!
proj.mac : Done!
proj.blackberry : Done!
proj.linux : Done!
proj.marmalade : Done!
New project has been created in this path: /Users/kei/cocos2d-x-2.1.5/projects/Lights
Have Fun!

projectsフォルダ内にiOS,Android,Win32,mac..のプロジェクトが作成されます。
iOSは"proj.ios"内の.xcodeprojをクリックしてXCodeを起動します。
Androidは"proj.android"内をeclipseでimportして起動します。
おわり。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away