I was playing with the SDK wnad copied/paste the ccTouchesMoved from CocosDenshion test (cf code below)
The weird result I got is that:
when I move by more 40pixels and release immediatly I got 1 message on the console and 1 zoom factor , so far as expected
but when I move by more than 40 pixels and stay there, I have also only 1 message on the console (logical) BUT the zoom factor keeps being applied!
what I do not understand is why I get only 1 message on the console where my sprite keeps getting bigger and bigger on thescreen.
Is there something I miss with CCTouches?
PS:ScaleTo(1, 1) should come back to original size in 1 second, am I right?
void MainMenuLayer::ccTouchesMoved(CCSet pTouches, CCEventpEvent)
CCSetIterator it = pTouches~~>begin;
CCTouch* touch = ;
CCPoint touchLocation = touch~~>locationInView( touch~~>view );
touchLocation = CCDirector::sharedDirector~~>convertToGL;
float nMoveX = touchLocation.x~~ m_tBeginPos.x;
CCSprite* pSprite3 = getChildByTag;// Debug MainMenuSprite
m_tBeginPos = touchLocation; //Since I save here if there are more touches in CCSet then
//test with 40 should failed and scale should be applied only once just like there is only message in the console???