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


201311230756.jpg

android

The function return the parameter directly. It's the absolute path in the .apk file.

win32


201311230757.jpg

Copyright © 2024 Flex/AS Programmer
Powered by .NET 8.0 on Kubernetes