来自 Apple 源代码/运动检测的 Jenga
你好,我正在观看 Apple WWDC 2010,看到 Steve 在玩 jenga…现在我非常想看看幕后到底是什么。 Apple 有该游戏的代码示例吗?我一直在寻找但找不到它...
也许有人可以给我一个链接或类似的东西,也许是教程? 我很想知道它是如何工作的。请帮忙。
PS:这是一个链接( http://www.youtube.com/watch? v=ORcu-c-qnjg )到 youtube,这样你就知道我在说什么。
谢谢!
Hello I was watching Apple WWDC 2010 and saw Steve playing jenga... Now I am die to see what is under the hood. Is there an code sample from Apple of that game? I was looking and can't find it...
May be someone can give me a link to it or something similar, perhaps tutorial?
I am dying to know how it works. Please help.
P.S: Here is a link ( http://www.youtube.com/watch?v=ORcu-c-qnjg ) to youtube, just so you know what I am talking about.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Jenga 是一个实际的应用程序,在应用商店中提供。因此,您将无法找到它的源代码。但是,您可能对以下内容感兴趣:
Apple 陀螺仪示例代码
这将您引向 Core Motion :
http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CoreMotion_Reference/CoreMotion_Reference.pdf
这是另一个带有源代码的示例:
http://cs491f10.wordpress.com/2010/10/28/core-motion-gyrscope-example/
Jenga was an actual application, available on the app store. As such, you won't be able to find the source code for it. However, you may be interested in the following:
Apple gyroscope sample code
Which point you to Core Motion:
http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CoreMotion_Reference/CoreMotion_Reference.pdf
Here is another example with source code:
http://cs491f10.wordpress.com/2010/10/28/core-motion-gyroscope-example/