I’m working on a game for iOS, A sprite work through ‘scene1’ into ‘scene2’. I need the sprite stop at scene2 when I release the touch.
I touch and hold at ‘scene1’, at the end of ‘scene1’ cocos2d director change game scene into ‘scene2’, than I release the touch, but I can’t get ccTouchEnded event from cocos2d-x Engine at release point on scene2. Do you have any suggestion to this situation?
————scene1——————— | ——~~scene2———————~~
Touch and hold***+***+Release(can’t get event here)—