So i’m using Cocos2d and i keep getting the error
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.fnt
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
Cocos2d: cocos2d: CCFileUtils: Warning file not found: TurkeySprite_v2-ipad.png
Cocos2d: cocos2d: WARNING Filename(TurkeySprite_v2-ipad) already has the suffix -ipad. Using it.
Cocos2d: cocos2d: WARNING Filename(TurkeySprite_v2-ipad) already has the suffix -ipad. Using it.
I’m not sure what this all means but I pretty much just started my project and was wondering how I went wrong so quickly.
Could anyone please help?
The warning
means that you tried to display a sprite loading a file name @”fps_images.fnt” and that no iPad specific version for it was found (which would be called @”fps_images-ipad.fnt”.
On the other hand, the other warning you get:
means that you tried loading an image by specifying its name as: @”TurkeySprite_v2-ipad.png”; since it already contains the
-ipadsuffix you get the warning.In the first case you can avoid the warning by providing the iPad specific version of the file; in the second case, simply remove
-ipadfrom the filename: @”TurkeySprite_v2.png”.In both cases, there is nothing absolutely wrong with both kind of warnings.