How do i use cocos2d with Xcode?(如何在 Xcode 中使用 cocos2d?)
问题描述
我下载了最新版本的 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Xcode 中使用 cocos2d?


基础教程推荐
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01