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.

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Leave a Reply

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