cocos2d iphone - Using CCLabelBMFont gives error TextureCache: fileimage MUST not be nil -
I created the MyFont.fnt file and MyFont.png file. Ang has written the following code
CCLLBMFont * Answer text = [CCLABBFF Label Labeling: @ "MyText" FTPFile: @ "MyFont.Funt"]; ReplyText.position = CCP (winSize.width / 2 + 20, winSize.height-200); [Self-linked: northwest z: index ++];
But this is giving and there is an error and I do not know why I have cleaned it and again the process has also been deleted files but there is no luck. Any help would be appreciated thanks to
There was a problem after a few hours of seeing this silly issue. I had XML tags in my .fnt file and I did export it as text and it solved the problem.
Comments
Post a Comment