Cocos2d-x中播放背景音樂

背景音樂的播放與停止實例代碼如下: [html]  view plain copy   SimpleAudioEngine::getInstance()->playBackgroundMusic("sound/Jazz.mp3", true);   SimpleAudioEngine::getInstance()->stopBackgroundMusic("sound/Jazz.mp3");  
相關文章
相關標籤/搜索