I am not sure which are the functions to implement mul开发者_Python百科ti touch in cocos.? could anyone show me a demo?
You'll need to create a view then use touchesBegan, touchesMoved, touchesCancelled and touchesEnded callbacks to implement your custom behaviour.
Apple's docs are a good place to start.
I can't point you to a demo, but you'll also need to make sure that you set multipleTouchesEnabled to YES and find some way to keep track of the touches.
This is a useful starting point for tracking the touches
精彩评论