佚名通过本文主要向大家介绍了plist,plist编辑器,plist editor,plist文件怎么打开,plist是什么文件等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 新手缓存plist的时候出错
描述:
这个为什么是0*0呢
描述:
cocos2d: WARNING: Image (125 x 838) is bigger than the supported 0 x 0
cocos2d: Couldn't create texture for file:units/zhangliao/zhangliaoidle.png in TextureCache
cocos2d: SpriteFrameCache: Couldn't load texture
int imageWidth = image->getWidth();
int imageHeight = image->getHeight();
this->_filePath = image->getFilePath();
Configuration *conf = Configuration::getInstance();
int maxTextureSize = conf->getMaxTextureSize();
if (imageWidth > maxTextureSize || imageHeight > maxTextureSize)
{
CCLOG("cocos2d: WARNING: Image (%u x %u) is bigger than the supported %u x %u", imageWidth, imageHeight, maxTextureSize, maxTextureSize);
return false;
}
这个为什么是0*0呢