- Learning Cocos2d-JS Game Development
- Emanuele Feronato
- 114字
- 2021-08-06 19:43:52
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.
推薦閱讀
- 基于粒計算模型的圖像處理
- C++面向對象程序設計(微課版)
- 簡單高效LATEX
- Mastering Apache Spark 2.x(Second Edition)
- Scala程序員面試算法寶典
- 編程與類型系統
- Java實戰(第2版)
- 工業機器人離線編程
- Software-Defined Networking with OpenFlow(Second Edition)
- 虛擬現實建模與編程(SketchUp+OSG開發技術)
- TypeScript全棧開發
- 深入大型數據集:并行與分布化Python代碼
- Magento 2 Developer's Guide
- 威脅建模:設計和交付更安全的軟件
- Oracle API Management 12c Implementation