现在2.2版本貌似没有fullPathFromRelativePathe()这个函数了,怎么办啊。各位大神求解惑。
SimpleAudioEngine::sharedEngine()->preloadBackgroundMusic(CCFileUtils::sharedFileUtils()->fullPathFromRelativePathe("background.mp3"));
SimpleAudioEngine::sharedEngine()->preloadEffect(CCFileUtils::sharedFileUtils()->fullPathFromRelativePathe("background.mp3"));
SimpleAudioEngine::sharedEngine()->playBackgroundMusic(std::string(CCFileUtils::sharedFileUtils()->fullPathFromRelativePathe("background.mp3")).c_str(), true);
```