摘要: 1:在AppController的didFinishLaunchingWithOptions中,加入[__glView setMultipleTouchEnabled:YES];2:在CCLayer类中实现以下方法头文件:virtual void registerWithTouchDispatcher(void); virtual void ccTouchesBegan(cocos2d::CCSet *pTouches, cocos2d::CCEvent *pEvent); virtual void ccTouchesMoved(cocos2d::CCSet *pTouches, ... 阅读全文
posted @ 2013-09-06 09:25 leonbao 阅读(342) 评论(0) 推荐(0) 编辑