bennyk / Cocos2d-x-Tutorial

My Cocos2d-X tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cocos2d-x-Tutorial

This repo contains port of popular tutorial projects (see References) to cocos2d-x v3 framework.

Following are the instructions required to build these tutorial samples: -

  1. Clone the project repo and start downloading the project submodules' dependencies.
$ cd Cocos2d-x-Tutorial
$ git submodule init
$ git submodule update

$ cd cocos2d-x
$ python download-deps.py

XCode

  1. Launch Xcode to load the tutorial project source. In Xcode, locate any .xcodeproj file in proj.ios_mac folder to load the project. Cmd-B to build it.

Android-Studio

  1. Issue the "cocos compile" command line to build the tutorial project.
$ cd proj.android-studio
$ cocos compile -p android --android-studio 
  1. Launch Android-Studio, select "choose existing project" to locate any folder with proj.android-studio.

For a video about these steps see https://www.youtube.com/watch?v=gdOkbXYsf04

That's all.

REFERENCES

About

My Cocos2d-X tutorial


Languages

Language:C++ 82.2%Language:Objective-C++ 7.0%Language:CMake 4.0%Language:Java 2.1%Language:Makefile 1.6%Language:Objective-C 1.4%Language:Python 1.0%Language:C 0.8%