请帮助超级初学者将 Gamecenter 集成到 Cocos2d 游戏中(Twee Jump。)

发布于 2024-10-09 12:10:48 字数 332 浏览 0 评论 0原文

我使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事↓在人 2024-10-16 12:10:48

我建议您看一下 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文