-1

I want to use multi touch functionality. I am using Xcode 5.0.2 with cocos2dx v2.2.3 I have tried a lot but unsuccessful to perform multitouch. I found the tutorial of cocos2d x V.3.0 but the following line is not working for v2.2.3

 auto listener =  EventListenerTouchAllAtOnce::create();
Ahmad dar
  • 81
  • 1
  • 14

1 Answers1

1

The code you are using is Cocos2d-x v3. Upgrade and you can use it.

For Cocos2d-x v2.2.3 you would need to look at CCTargetedTouchDelegate

An example for 2.2.3 can be found here: http://paralaxer.com/touch-tutorial-player-movement/

GameDeveloper
  • 1,029
  • 1
  • 7
  • 12