In my project are two scenes. First is default HelloWorld with some changes, second scene is the same. In fist scene button(like default close button) replace scene to second. And in my second scene i want racieve touches, i added
void ccTouchEnded(CCTouch pTouch, CCEventpEvent);
in .h and
void TestLevel::ccTouchEnded(CCTouch pTouch, CCEventpEvent)
isStarted = true;
in .cpp and call
but breakpoint in method ccTouchEnded don’t hit.
I doing all like in tutorial with ninja, using cocos2d-2.0-x-2.0.3 (last version).
Please help me, what i’m doing wrong?
p.s. sorry for my bad english:)