1

Cocos2d-x multi-touch acting strange with iOS

view story
linux-howto

http://stackoverflow.com – CCSetIterator iter = touches->begin(); for (; iter != touches->end(); iter++) { CCTouch* touchPoint = (CCTouch*)(*iter); if(touchPoint->getID()==0) { CCLog("TOUCH_1"); location1 = touchPoint->getLocationInView(); location1 = CCDirector::sharedDirector()->convertToGL(location1); } if(touchPoint->getID()==1) { CCLog("TOUCH_2"); location2 = touchPoint->getLocationInView(); location (HowTos)