Cocos2d-x中播放背景音乐

背景音乐的播放与停止实例代码如下: [html]  view plain copy   SimpleAudioEngine::getInstance()->playBackgroundMusic("sound/Jazz.mp3", true);   SimpleAudioEngine::getInstance()->stopBackgroundMusic("sound/Jazz.mp3");  
相关文章
相关标签/搜索