我想让我的CCLayer的子类响应多点触控。在init方法我称之为cocos2d:ccTouchesBegin没有调用,但ccTouchBegan没有触发
self.isTouchEnabled=YES;
在一个名为registerWithTouchDispatcher方法,我称之为
[[CCTouchDispatcher sharedDispatcher] addTargetedDelegate:self priority:0 swallowsTouches:NO];
在我的应用程序的委托,我叫
[glView setMultipleTouchEnabled:YES];
的ccTouchBegan:withEvent:方法方法被调用,但从来没有ccTouchesBegan:withEvent。我对cocos2d很新,所以它可能很简单,我只是不知道它是什么。
愚蠢的问题,但...有多个接触? – Sup3rpanda 2011-04-29 04:49:33