Skip to content
Alexander edited this page Jan 1, 2016 · 14 revisions

Welcome to the cocos2d-x installing guide!

Installing on Windows

Cocos2d-x is for developing only. Cocos(Studio) is for designing mostly. I recommend "Cocos for Mac/Win with framework" option (they both are included).

IMPORTANT You don't need that if you have chosen "Cocos for Mac/Win with framework". It's already included.

It's very important to install 2.7.x version and not 3+. It's also important to add python.exe to Path:

It's important to add python.exe to Path

That's minimal requirements for compiling cocos2d-x games for Windows:

Common Tools for Visual C++ 2015

To be continued...

If you plan to compile .apk for Android

I recommend to install following things to "C:\Cocos\tools", cause of Cocos Studio uses this path by default for Python (although it's not necessary).

Download the latest version of the installer. Install it. Easy.

Download the latest version of the installer. Install it. Easy.

Scroll down to "Other Download Options" > "SDK Tools Only". Download the latest version of the installer. Unzip it to somewhere (remember that I recommend "C:\Cocos\tools"?).

Creating/compiling/running a project

With Cocos Studio

Start the Cocos Studio (finally!).

Setting up some preferences

Go to "Edit" > "Preferences" > "Platform".

You should see something like this:

Preferences of Cocos Studio

If you are following my guide it's already installed. All that you need is to click "Browse..." and find all kinds of that shit (SDK, NDK, JDK).

To be continued...

With a console

To be continued...

Clone this wiki locally