0

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!

MeIr
  • 7,236
  • 6
  • 47
  • 80

1 Answers1

0

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/

Community
  • 1
  • 1
Ethan Mick
  • 9,517
  • 14
  • 58
  • 74
  • Is there anything that can simulate gyro? Jobs showed the game with Gyro (new iPhone 4) and without - which to work on 3GS. Am I corrent? – MeIr Jun 28 '11 at 03:33
  • Thanks for the reference to CoreMotion, I will read on it tomorrow. Hopefully I can recreate similar behavior on 3GS – MeIr Jun 28 '11 at 03:35