开发者

Jenga from Apple Source Code / Motion Detection

开发者 https://www.devze.com 2023-03-15 18:49 出处:网络
Hello I was watching Apple WWDC 2010 and saw Steve playing jenga... Now 开发者_JAVA技巧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

Hello I was watching Apple WWDC 2010 and saw Steve playing jenga... Now 开发者_JAVA技巧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!


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消