Skip to content

bennyk/Cocos2d-x-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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