May 26, 2011

So integrating all these different tutorials into a functional aspect of my game has proven extremely difficult since every demo does each part of the MVC a bit differently. Not to mention the general lack of Cocos2D documentation makes this all extremely frustrating.

However, in good news I have gotten a body based, dynamic orbit system to work. The only problem is I now have to figure out how to change the origin point of the model as now all the vector calculations are performed with respect to the screen origin in the bottom left hand corner. Displacing everything up and over to the middle of the screen is proving rather difficult. I’m sure its just a single value that needs to be changed but for now things are looking wonky as you can see.

Wonky Orbit

The green planet is actually orbiting the lower left hand corner

Leave a Reply

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