¡@

Home 

2014/10/15 ¤U¤È 10:05:33

iphone Programming Glossary: convertedlocation

CCMoveTo of Cocos2D

http://stackoverflow.com/questions/5734072/ccmoveto-of-cocos2d

YES void ccTouchEnded UITouch touch withEvent UIEvent event CGPoint location touch locationInView touch view CGPoint convertedLocation CCDirector sharedDirector convertToGL location spriteA stopAllActions spriteA runAction CCMoveTo actionWithDuration 1 position.. sharedDirector convertToGL location spriteA stopAllActions spriteA runAction CCMoveTo actionWithDuration 1 position convertedLocation it can be moved but not only four direction and how can i use spriteB stop spriteA if spriteB is at the front of spriteA.. YES void ccTouchEnded UITouch touch withEvent UIEvent event CGPoint location touch locationInView touch view CGPoint convertedLocation CCDirector sharedDirector convertToGL location if abs convertedLocation.x abs convertedLocation.y convertedLocation ccp..