摘要:
g_rGemertricRecognizer=new GeometricRecognizer; g_rGemertricRecognizer->loadTemplates();void HelloWorld::ccTouchMoved(cocos2d::CCTouch *pTouch, coco... 阅读全文
摘要:
http://blog.csdn.net/c_qiang0_0/article/details/8006261 阅读全文
摘要:
cocos2d::CCPoint HelloWorld::covertPointToTiledCoord(cocos2d::CCPoint p){ int x = p.x / mMap->getTileSize().width; int y = ((mMap->getMapSize().height... 阅读全文
摘要:
void HelloWorld::setCenterOfScreen(CCPoint p){ CCSize s = CCDirector::sharedDirector()->getWinSize(); int x = MAX(p.x, s.width / 2); int y = MAX(p.y, ... 阅读全文