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

Chapter 3. Your First Game – Air Hockey

We are going to build an Air Hockey game to introduce you to all the main aspects of building a project with Cocos2d-x. These include setting up the project's configuration, loading images, loading sounds, building a game for more than one screen resolution, and managing touch events.

Oh, and you will need to call a friend. This is a two player game. Go on, I'll wait here.

By the end of this chapter, you will know:

  • How to build an iPad-only game
  • How to enable multitouch
  • How to support both retina and non-retina displays
  • How to load images and sounds
  • How to play sound effects
  • How to create sprites
  • How to extend the Cocos2d-x Sprite class
  • How to create labels and update them

Without further ado...let's begin.

主站蜘蛛池模板: 社会| 岑巩县| 南川市| 巢湖市| 民县| 博罗县| 怀化市| 东乌珠穆沁旗| 济宁市| 横峰县| 仙游县| 大洼县| 平顺县| 拉孜县| 宣城市| 长沙县| 九江市| 松潘县| 永清县| 德州市| 三门峡市| 榆树市| 尚义县| 弋阳县| 宾阳县| 开江县| 固阳县| 海口市| 镇雄县| 剑川县| 庆阳市| 沿河| 本溪| 五寨县| 柳林县| 武川县| 改则县| 余江县| 长宁区| 神农架林区| 黄平县|