I want to dynamically change my ccsprite object’s texture. So i code as below:
CCSprite sp = CCSprite::spriteWithFile;
CCTexture2Dtex = CCTextureCatch::sharedTextureCatch()~~>addImage;
but, i found the sp2.png size is larger than i want,
i want to know why?
some guys can help me ?