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

Introduction

In the first chapter, we will cover some basics of the Cocos2d framework so that everyone is up to speed on the concepts. We will go through the process of downloading and installing SpriteBuilder/Cocos2d. Then we will cover the 2D coordinate system that Cocos2d uses.

After going through the basics, we will cover the basic properties of sprites and how they can be added to a scene. We will take a look at how to add an image to a sprite object. We will discuss how to create a sprite that is used as placeholder asset to test basic game mechanics and collision in the prototyping stage of any game. We will then consider how to create basic shapes using glPrimitives. After this, we will move on to discussing how to move, rotate, scale, and combine actions on the sprite object using actions. Next, we will look at how to animate a character using sprite frames. Finally, we will add parallax scrolling to the scene to add more dynamism to it.

主站蜘蛛池模板: 昌邑市| 理塘县| 阳谷县| 关岭| 资讯 | 北碚区| 威信县| 高要市| 泰安市| 营口市| 望江县| 呼伦贝尔市| 宁津县| 嘉义县| 新巴尔虎左旗| 青海省| 平和县| 集安市| 南雄市| 普陀区| 东港市| 乐安县| 陇西县| 峡江县| 紫阳县| 岑巩县| 贡嘎县| 马关县| 皮山县| 池州市| 西乌珠穆沁旗| 玉屏| 和林格尔县| 兴和县| 鄂托克旗| 游戏| 延安市| 松潘县| 乌拉特前旗| 连山| 华宁县|