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

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.

主站蜘蛛池模板: 垦利县| 银川市| 信宜市| 故城县| 杂多县| 柳州市| 体育| 合山市| 巢湖市| 陕西省| 上犹县| 南宁市| 枞阳县| 板桥市| 竹溪县| 阿拉善右旗| 惠安县| 保山市| 卓尼县| 玛曲县| 永胜县| 元阳县| 金阳县| 罗田县| 汨罗市| 岐山县| 阳春市| 阜康市| 辽中县| 朔州市| 临汾市| 临湘市| 长宁区| 瓦房店市| 马边| 独山县| 璧山县| 济宁市| 萝北县| 古交市| 蓝田县|