- 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.
推薦閱讀
- Go Web編程
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Visual FoxPro 程序設(shè)計(jì)
- Java編程指南:基礎(chǔ)知識(shí)、類庫(kù)應(yīng)用及案例設(shè)計(jì)
- C語(yǔ)言程序設(shè)計(jì)教程(第2版)
- Visual C++串口通信技術(shù)詳解(第2版)
- JS全書:JavaScript Web前端開發(fā)指南
- Java:High-Performance Apps with Java 9
- Python High Performance Programming
- OpenCV 4計(jì)算機(jī)視覺項(xiàng)目實(shí)戰(zhàn)(原書第2版)
- Mastering C++ Multithreading
- ScratchJr趣味編程動(dòng)手玩:讓孩子用編程講故事
- 運(yùn)維前線:一線運(yùn)維專家的運(yùn)維方法、技巧與實(shí)踐
- Learning Python Data Visualization
- Visual C++開發(fā)寶典