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

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
主站蜘蛛池模板: 盱眙县| 陕西省| 顺义区| 瑞安市| 洪洞县| 方山县| 尚义县| 鄂温| 遵化市| 枣阳市| 宁城县| 霍山县| 获嘉县| 车险| 长葛市| 叙永县| 哈尔滨市| 东辽县| 简阳市| 安溪县| 汉中市| 东港市| 田林县| 东丰县| 松滋市| 扎赉特旗| 常熟市| 丹江口市| 梁平县| 兰坪| 和林格尔县| 扬州市| 上饶市| 巴东县| 麻阳| 万荣县| 甘肃省| 稻城县| 南华县| 宾川县| 如皋市|