I use CCsprite to import a png image
How can I Get the size in CCSprite?
CCRect rect = spr->boundingBox();
Not entirely obvious that one!
May be you need CCSprite::getContentSize().
I use CCsprite to import a png image
How can I Get the size in CCSprite?
CCRect rect = spr->boundingBox();
Not entirely obvious that one!
May be you need CCSprite::getContentSize().