Month: January 2012
-
Cocos2d Anchor points
I wrote this post because while working on Eternal Pain I kept forgetting how anchor points worked, being used to Flash and it’s wysiwyg interface. Cocos2d’s anchor point defaults in the middle of the object. The image below illustrates this. [clear] So, if you’re trying to make a hit area, you either make the anchor…