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

Summary

SpaceCraze taught us a lot more about developing games with Cocos2d-x. We started the chapter with the awesome project-creator tool to create a cross-platform project. We then discussed how to extend the engine's most frequently used CCSprite class into our own CustomSprite. We then got creative by implementing a particle system. One of the important things you learned was storing and parsing our level data from XML files. This not only increases the scalability of the game, but also makes the level designer's job a lot easier. We also used actions for almost everything other than collision detection in this game. I'm sure you can see how much time, effort, and code we saved.

Our next game is sure to intrigue you. Want to know why? It's because we'll go back to the drawing board with primitive drawing and you will learn how to implement the really cool accelerometer control. Get ready!

主站蜘蛛池模板: 浏阳市| 鄂尔多斯市| 罗定市| 荣昌县| 平武县| 如皋市| 玉田县| 山东省| 师宗县| 连南| 慈利县| 河北省| 河北省| 两当县| 两当县| 略阳县| 苗栗市| 台北县| 高台县| 施甸县| 宜良县| 云阳县| 漳州市| 新民市| 都兰县| 稻城县| 庆云县| 阜城县| 黄平县| 诏安县| 麦盖提县| 定边县| 龙泉市| 酒泉市| 江源县| 新干县| 庆城县| 东方市| 华宁县| 霍州市| 连城县|