ios - Kobold2D anyTouchEndedThisFrame does not get called - I could not figure out the reasons? -


- (void)update:(cctime)delta {     ccdirector* director = [ccdirector shareddirector];      if (director.currentplatformisios)     {         kkinput* input = [kkinput sharedinput];          if ([kkinput sharedinput].anytouchbeganthisframe) {nslog(@"anytouchbeganthisframe");}         if ([kkinput sharedinput].anytouchendedthisframe) {nslog(@"anytouchendedthisframe");}          if ([input isanytouchonnode:self.ballred touchphase:kktouchphasebegan]){nslog(@"isanytouchonnode");}      } } 

anytouchendedthisframe not getting called touchbegan event not triggering isanytouchonnode. if change kktouchphasestationary/kktouchphaseany event occurring flawlessly.

i shifted cocos2d 2.0 kobold2d. great..!!

implemented cctouchesbegan/moved , ended , worked. ignored kkinput


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -