Tutorial: CoreMotion And Cocos2D – Utilizing The Gyroscope

If you have been looking to enhance the controls of your game to utilize the gyroscope for more accurate, or enhanced controls Rod Strougo has posted a tutorial featuring how to use Apple’s CoreMotion with Cocos2D.

The tutorial goes through the basics of adding the Core Motion framework to a Cocos2D project, and demonstrates how to obtain the pitch, roll, and yaw from the gyroscope.

You can find the tutorial here:
Getting Started With Core Motion In Cocos2D

If you are looking to get a grasp on exactly what the pitch roll, and yaw numbers mean there is a good free app showing those details available on iTunes here.

Keynotopia is the largest collection of user interface design templates so you can build professional active iPhone and iPad app prototypes quickly using Keynote. No programming knowledge required.
Read more...
DeliciousTwitterFacebookLinkedInEmail

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>