2014년 3월 5일 수요일

Cocos2d-x 디렉토리 구조


1. Cocos2d-x Architecture

2. Cocos2d-x Directory Structure

Directory
Explain
build
This folder includes top level xcode projects, visual studio solutions and makefiles
cocos
This is the major directory for cocos2d-x framework.
docs
You can download doxygen, use it to open doxygen.config file in this this folder, then generate offline API docs by yourself
extensions
This folder is almost deprecated after v3.0. Please use cocos/gui instead of extensions/GUI, use cocos/physics instead of extension/physics-nodes. Assets-manager can work but will be refactor sooner
external
Here are all 3rd libraries which is dependencied by cocos2d-x
licenses
Cocos2d depends on many other open source projects. All of their licenses are here. We've avoid all GPL/LGPL libraires, so cocos2d-x and its dependencies are commercial friendly.
samples
IMPORTANT. This is where you should start from. Cpp/HelloCpp can be your first lesson, and you can find the usages of all classes in TestCpp. Looking for lua and js samples? They’re also here.
template
Here're templates for creating cocos2d-x new project in different IDEs and various platforms.
tools
Lots of different command line tools, such as createing new projects, binding c++ to lua to javasript, compile javascript into bytecode, etc. We're refactoring this into cocos-console.


댓글 없음: