Problem with cocos2D for iPhone and touch detection

后端 未结 7 973
后悔当初
后悔当初 2021-02-01 09:03

I just don\'t get it. I use cocos2d for development of a small game on the iPhone/Pod. The framework is just great, but I fail at touch detection. I read that you just need to o

7条回答
  •  有刺的猬
    2021-02-01 09:48

    If you use the 0.9 beta of cocos2D it has a really simple touch detection for CocosNodes. The real beauty of this new detection is that it handles multiple touch tracking really well.

    An example of this can be found here

    http://code.google.com/p/cocos2d-iphone/source/browse/#svn/trunk/tests/TouchesTest

提交回复
热议问题