摘要: //预加载背景音乐 和 预加载音效 在播放背景音乐与音效之前都要提前加载,为了防止加载消耗时间发生与游戏不同步; [[SimpleAudioEngine sharedEngine] preloadBackgroundMusic:@"office_background.mp3"]; [[SimpleAudioEngine sharedEngine] preloadEffect:@"office_background.mp3"]; //播放背景音乐 和 循环播放背景音乐; [[SimpleAudioEngi... 阅读全文
posted @ 2012-04-23 21:56 moon_7 阅读(4317) 评论(0) 推荐(0) 编辑