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

Chapter 1. Hello World – A Cross-platform Game

The legend says that the first working script you should do when learning a new language is the classic Hello World printed somewhere on the screen.

This chapter will guide you through the creation of a cross-platform Hello World example, covering these concepts:

  • The theory behind the creation of cross platform games
  • Cocos2d-JS installation and setup
  • A Cocos2d-JS project blueprint
  • Scenes, Layers, and Sprites
  • Preloading images
  • Adding images
  • Removing images

By the end of the chapter, you will be able to create a template project to create any kind of Cocos2d-JS cross-platform game that is capable of running on various devices at different resolutions.

主站蜘蛛池模板: 康定县| 个旧市| 肇庆市| 图木舒克市| 岱山县| 漯河市| 平阴县| 蕲春县| 东乌珠穆沁旗| 阿拉善左旗| 怀仁县| 平凉市| 白河县| 临清市| 南召县| 睢宁县| 五常市| 易门县| 潮州市| 民和| 阳新县| 抚顺市| 若尔盖县| 德昌县| 磐石市| 花垣县| 徐水县| 从化市| 岳普湖县| 海原县| 湘潭县| 南汇区| 正安县| 南郑县| 宜兰县| 大余县| 桑植县| 边坝县| 关岭| 漠河县| 浦城县|