cocos2d: fullPathForFilename:
2014-11-02 19:36
411 查看
cocos2d: fullPathForFilename: No file found at textures/main.plist/HelloWorld.png. Possible missing file.
plist里面的文件是虚拟文件,在Project View中直接copy会有如下错误。虚拟文件只能在cce中识别,java文件要识别实际的文件,所以不能放到plist文件夹里。如下会导致错误
把实际的文件copy过来,放到非xxx.plist文件夹里,就能识别了。
plist里面的文件是虚拟文件,在Project View中直接copy会有如下错误。虚拟文件只能在cce中识别,java文件要识别实际的文件,所以不能放到plist文件夹里。如下会导致错误
bgSprite.setTexture("textures/main.plist/HelloWorld.png");
把实际的文件copy过来,放到非xxx.plist文件夹里,就能识别了。
bgSprite.setTexture("textures/HelloWorld.png");
相关文章推荐
- cocos2d: fullPathForFilename: No file found at /cc_2x2_white_image. Possible missing file.
- cocos2d: fullPathForFilename: No file found at resource/Player.png. Possible missing file.
- cocos2d: fullPathForFilename: No file found at Hero.png. Possible missing file.问题解决方法
- CocosEditor-java加载图片出错cocos2d: fullPathForFilename: No file found at main.plist. Possible missing fi
- How does CCFileUTils::fullPathForFilename work
- cocos2dx 3.x fullPathForFilename及isFileExist在ios/mac下与win32下行为不同
- callBackName cannot be found&fullPathForFilename: No file found at replay.png. 解决方案
- (andriod)2dx fullPathForFilename 注意事项
- enter the full pathname for java.exe
- Use regular expression to get filename from a file full path name.
- FreeBSD上Enter full pathname of shell or RETURN for /bin/sh 问题的解决
- 【Cocos2d-x基础概念】CCFileUtils-fullPathFromName
- windows下 安装后的 Oracle SQL Developer 不能用,出现一个对话框提示:Enter the full pathname for java
- SharePoint 报错: The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less
- 安装Oracle11后在SQL Developer启动时提示:enter the full pathname for the java.exe
- enter the full pathname for java.exe
- Enter the full pathname for java.exe
- Get full pathname to the file
- oracle sql developer怎么打不开呢,出现enter the full pathname for java.exe
- windows下 安装后的 Oracle SQL Developer 不能用,出现一个对话框提示:Enter the full pathname for java.exe