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

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.

主站蜘蛛池模板: 南雄市| 古蔺县| 元阳县| 古田县| 舒城县| 安义县| 会同县| 出国| 惠来县| 安图县| 永新县| 旌德县| 县级市| 临江市| 晋中市| 高要市| 西昌市| 泰州市| 通城县| 宜君县| 莱西市| 瓦房店市| 察雅县| 榆林市| 杨浦区| 即墨市| 河池市| 巩义市| 丽江市| 额济纳旗| 子洲县| 新昌县| 临清市| 北碚区| 都江堰市| 惠州市| 武平县| 临湘市| 遵义县| 城步| 西藏|