开发者

How to add cocos2d into current project?

开发者 https://www.devze.com 2022-12-30 22:58 出处:网络
I am developing my project, but I found that the cocos2D project is quite useful, how can I add the the coco开发者_如何学编程s2d into current project? thz.I would suggest running through the Cocos2D p

I am developing my project, but I found that the cocos2D project is quite useful, how can I add the the coco开发者_如何学编程s2d into current project? thz.


I would suggest running through the Cocos2D programming guide. Your questions is covered in Lesson 1.


1> as Rob's link suggested, download and add cocos2d to your current project;

http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:lesson_1._install_test

And you need to decide which version you need to download, cocos2d 1.x or 2.0. If you want to support old device like iphone 1g 2g, then I suggest you stick with cocos2d 1.x If you want some fancy shader, then you need to consider cocos2d 2.0

2>Since your current project is based on xcode uikit, you need to learn how to integrate cocos2d scene into exsiting uikit.

3>of course keep learning cocos2d, it's quite useful :)

0

精彩评论

暂无评论...
验证码 换一张
取 消