How does CCFileUTils::fullPathForFilename work
Posted on 2013-11-23 07:58 Flex/AS Programmer 阅读(434) 评论(0) 编辑 收藏 举报OverView
- The purpose of this document is show you how does function CCFileUtils::fullPathForFilename() work on different platforms.
- The document is based on engine version: cocos2d-x 2.1
- CCFileUtils::fullPathForFilename() is not return the absolute path on some platforms.
- If you want to get a writable path, attempt to use interface CCFileUtils::getWritablePath().
iOS
android
The function return the parameter directly. It's the absolute path in the .apk file.
win32