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

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.

主站蜘蛛池模板: 远安县| 重庆市| 北川| 乌鲁木齐市| 延安市| 板桥市| 渝中区| 乌拉特前旗| 平遥县| 余干县| 汉中市| 扶余县| 九寨沟县| 博野县| 彩票| 额尔古纳市| 绵阳市| 玉门市| 肥东县| 开封市| 加查县| 阿克| 光泽县| 楚雄市| 买车| 岱山县| 临邑县| 微山县| 乐陵市| 五原县| 鄂托克前旗| 梁山县| 安阳市| 临安市| 固原市| 镇康县| 湖南省| 安福县| 张家口市| 博湖县| 宁乡县|