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

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!

主站蜘蛛池模板: 饶阳县| 肇庆市| 龙陵县| 宣恩县| 遵义市| 镇远县| 白玉县| 乐山市| 太康县| 海安县| 广昌县| 万荣县| 宁河县| 巍山| 青州市| 诸城市| 桐梓县| 观塘区| 大埔区| 杨浦区| 交城县| 黄山市| 正阳县| 米脂县| 黄龙县| 浪卡子县| 宝清县| 滨州市| 鱼台县| 兰溪市| 丹棱县| 霍州市| 榆社县| 桃园市| 庆阳市| 广安市| 浙江省| 沙河市| 西平县| 剑川县| 集贤县|