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

Chapter 1. A Colorful Start

We start the journey of game development in Cocos2d-x with a simple, fun, and colorful game. Let's call it ColourSmash. This will serve as a revision of the basic features of the engine and will get us started with some fun development. We will be using the HTML5 version of Cocos2d for this project—Cocos2d-html5-v2.2.3 to be specific. So all the coding in this chapter, and the next, will be done in JavaScript.

Here's what you'll learn in this chapter:

  • How and where to use cc.Scene and cc.Layer
  • How to optimize rendering with a batch node
  • How to use actions and easing
  • How to get touches
  • How to schedule callbacks
主站蜘蛛池模板: 佛学| 屏山县| 新兴县| 黑水县| 汉中市| 陇南市| 离岛区| 肥东县| 清新县| 乐业县| 黄冈市| 都江堰市| 绿春县| 汤阴县| 都兰县| 安康市| 隆昌县| 九龙坡区| 花垣县| 黔东| 鄂托克旗| 淅川县| 赤城县| 阳谷县| 孟村| 嘉荫县| 周口市| 浦县| 吴堡县| 深泽县| 上饶市| 民权县| 威信县| 泗水县| 宜城市| 贵阳市| 伊宁县| 七台河市| 资溪县| 栾川县| 内乡县|