我下载了最新版本的 cocos2d,但我对如何在我当前的项目中使用它感到困惑.谁能告诉我如何在 xcode 中使用它.我正在寻找设计一个2D迷宫.我必须进口一些东西吗?任何形式的帮助将不胜感激.
I downloaded the lastest version of cocos2d but I am confused as to how to use it with my current project. Can anyone show me how to use it with xcode. I'm looking to design a 2D maze. Do i have to import something ? Any sort of help would be appreciated.
是的,你需要把cocos2d文件拖到你的项目中,然后才能使用.
Yes, you need to drag the cocos2d files into your project, then they will be available.
这是一个非常有用的分步资源,说明如何做到这一点.
This is a very helpful step-by-step resource on how to do that.
http://monoclestudios.com/cocos2d_whitepaper.html
就设计游戏而言,开始吧,玩一玩,看看示例代码.留言板上也有非常乐于助人的人.
As far as designing your game, get started, play around, and look at the sample code. There are also very helpful folks on the message board.
http://www.cocos2d-iphone.org/forum/
祝你好运!
这篇关于如何在 Xcode 中使用 cocos2d?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!