官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 霸州市| 紫金县| 福州市| 手游| 称多县| 宾阳县| 长葛市| 绥棱县| 搜索| 瓦房店市| 临夏县| 竹北市| 万载县| 尼玛县| 仙游县| 方正县| 安溪县| 通海县| 临夏县| 康定县| 交口县| 唐山市| 大丰市| 肥城市| 上杭县| 麦盖提县| 巧家县| 连城县| 军事| 凉城县| 南汇区| 禄劝| 炉霍县| 承德县| 三原县| 临漳县| 鹿泉市| 南城县| 临邑县| 揭东县| 昌黎县|