我开始学习 cocos2d,我想知道为什么实际上我们使用 CCDirector 的 convertToGL,[[CCDirector sharedDirector] convertToGL: touchLoc];
而我们已经有了[touch view]
from [touch locationInView: [touch view]];
?
另外,我们首先“addChild”一个CCSprite,包含一个图像,然后我们设置它的body,ccsprite成为这个body的数据用户。改为“addChild”身体不是更好吗?还是出于任何特定目的?
谢谢