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

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.

主站蜘蛛池模板: 灵山县| 新乡市| 清涧县| 广宁县| 汝南县| 綦江县| 德兴市| 延吉市| 吉林省| 汾西县| 石林| 夹江县| 阜宁县| 珲春市| 三原县| 禄丰县| 遵义县| 依兰县| 西昌市| 池州市| 墨竹工卡县| 富宁县| 虞城县| 阿拉尔市| 汝南县| 汉源县| 宝鸡市| 大名县| 宁陵县| 横峰县| 文成县| 平舆县| 马鞍山市| 镇平县| 阜南县| 杨浦区| 新丰县| 登封市| 东乡县| 海宁市| 临泽县|