Cocos2dx - csusbdt/441-2013 GitHub Wiki

Overview

See the supported platforms for cocos2d-x.

I noticed a nice example cocos2d-x game project based on C++, which uses the Tiled Map Editor.

Windows

On Windows, I did the following.

build-win32
install-templates-msvc

Then I opened cocos2d-win32.vc2010.sln and ran the hello project, which worked.

OS X

On OS X, I did the following.

sudo ./install-templates-xcode.sh

This installs templates for iOS project development only. However, this changed permissions on folders that xcode wants to write documentation into. This post solved this problem.

Notes

The cocos2d-x source code uses private inheritance. See Difference between public and private inheritance for a quick explanation of private inheritance.

Deleted

I am still trying to determine what's needed to create OS X projects. See this for setting up a cross-platform development environment on Mac. This article references Cocos2d-X Meta-Project Setup, which discusses set up of Mac projects.

- CMake -- build system for cross-platform projects

⚠️ **GitHub.com Fallback** ⚠️