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

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.

主站蜘蛛池模板: 类乌齐县| 定边县| 门源| 宁陕县| 桂东县| 伊金霍洛旗| 景德镇市| 于田县| 旬邑县| 黑龙江省| 老河口市| 潜山县| 邹平县| 罗源县| 塔河县| 连城县| 马龙县| 永登县| 盐亭县| 兴业县| 石河子市| 靖江市| 霍城县| 建宁县| 镇远县| 黎川县| 灵宝市| 蒲江县| 周口市| 图片| 镇雄县| 漳浦县| 盖州市| 乐亭县| 阳信县| 彰化县| 东光县| 陵川县| 攀枝花市| 百色市| 油尖旺区|