请帮助超级初学者将 Gamecenter 集成到 Cocos2d 游戏中(Twee Jump。)
我使用 twee Jump (源代码在这里:https://github.com/haqu/tweejump)作为这是我在 cocos2d 上的第一个 iPhone 游戏的基础,但是我在将游戏中心整合到 Twee Jump 中遇到了很大的困难。我使用过 GKTapper 和一卡车其他东西,但没有结果。如果 Obj-c 大师能够下载源代码,并告诉我如何登录游戏中心(只是为了显示小图标,上面写着:欢迎,你的名字),我将非常感激,
拜托,我将非常感激(我在这里哭泣:'()
提前致谢, 帕托马16
I am using twee jump (source code here: https://github.com/haqu/tweejump) as the basis for my first iPhone game on cocos2d, but i've had a great deal of difficulty incorporating game-center into twee jump. I've used GKTapper, and a truckload of other stuff, but no results. I would highly appreciate if you masters of Obj-c would download the source code, and just tell me how to get logged in into gamecenter (just to show the little icon that says: Welcome, yourname)
Please, I WOULD HIGHLY APPRECIATE IT (IM CRYING HERE :'()
Thanks in advance,
patoma16
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您看一下 Steffen Itterheim 制作的 GKHelper 类,位于以下演示项目中:
http://www.learn-cocos2d.com/2011/01/game-kit-data-sendreceive-demo-project/
通过学习源代码,您应该能够快速获得一些结果,这可能会鼓励您更深入地研究该主题。
也看看苹果的文档(不要浏览它,研究它):http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameCenterOverview/GameCenterOverview。 html#//apple_ref/doc/uid/TP40008304-CH5-SW7。
I'd suggest you take a look at the GKHelper class, made by Steffen Itterheim, located in the following demo project:
http://www.learn-cocos2d.com/2011/01/game-kit-data-sendreceive-demo-project/
By studying the source code you should be able to get some quick results that may encourage you to dig deeper into the subject.
Take a look at Apple's documentation as well (don't skim it, study it): http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameCenterOverview/GameCenterOverview.html#//apple_ref/doc/uid/TP40008304-CH5-SW7.