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

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!

主站蜘蛛池模板: 藁城市| 平阳县| 子长县| 安泽县| 连云港市| 抚宁县| 宁陕县| 宜昌市| 渑池县| 宁远县| 西盟| 叶城县| 五大连池市| 分宜县| 肃宁县| 凉山| 海淀区| 宁远县| 桦南县| 泽库县| 焦作市| 秭归县| 曲周县| 贵港市| 塔城市| 原阳县| 小金县| 桂平市| 怀柔区| 淮北市| 赫章县| 隆化县| 巧家县| 民权县| 宜宾市| 清水县| 乌拉特后旗| 威宁| 遵义县| 子洲县| 新田县|