cocos2d-x
cocos2d-x copied to clipboard
fix position errors
trafficstars
- I used initWithSpriteFrame and spriteFrame->getOffset() is not zero, so _unflippedOffsetPositionFromCenter is not zero.
- used initWithFile ,the position will be wrong,because _unflippedOffsetPositionFromCenter is not reset.