- Cocos2d-x Game Development Blueprints
- Karan Sequeira
- 98字
- 2021-07-16 13:47:54
Getting acquainted with the project structure
The main backbone files required for any Cocos2d-html5 game are the index.html
, main.js
, and cocos2d.js
files. These are exactly the files you will see in your project's root directory. In addition to these three files, you can also see a file called build.xml
and another file called cocos2d-jsb.js
. Take a look at the following table for a brief description of what these files are responsible for:
Now that we have a basic understanding of the structure of a typical Cocos2d-html5 project, it is time to create our very first scene in ColourSmash.