There’re a lot of very useful helper funcions and properties can make your life easier when developing with cocos2d but some pepole don’t know that especially for rookies like me 🙁
Here’s some examples:
1.Need a random number? Have you tried CCRANDOM_0_1 or CCRANDOM_MINUS1_1?
2.Doing some math stuff? Whole bunch of great stuff here: ccpAdd, ccpSub, ccpLineIntersect……
3. Having trouble with coordinate? Ever tried convertToNodeSpace, convertToWorldSpace, convertToNodeSpaceAR……?
So I spent a littel bit time to make a simple list so that I can keep my code simple and kinda professional :~) and I would like to share with those who way need it.
To Download Page…
If you feel all the stuffs in this site helped you a lot and you would buy me a beer 🙂