Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable multi touch in cocos2d?

Could anyone show me how to enable multi touch in cocos2d application please? I am new to this. Really appreciate any help.

like image 603
Rocker Avatar asked Nov 21 '09 04:11

Rocker


1 Answers

Use setMultipleTouchEnabled:Yes for your UIWindow or UIView, and then set the isTouchEnabled property for the layer on which you want to receive touches.

like image 54
radical Avatar answered Sep 20 '22 13:09

radical