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

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.

主站蜘蛛池模板: 山丹县| 曲阜市| 新巴尔虎左旗| 科尔| 视频| 达州市| 常宁市| 龙岩市| 石景山区| 泾阳县| 德安县| 郧西县| 绥阳县| 穆棱市| 遂宁市| 聂拉木县| 平乐县| 克山县| 保靖县| 永胜县| 宁陵县| 雷波县| 新营市| 北宁市| 宿迁市| 望奎县| 白玉县| 南投县| 宜良县| 澎湖县| 大英县| 宝清县| 昌江| 会宁县| 兴仁县| 砀山县| 太湖县| 东城区| 清河县| 那坡县| 永靖县|