【发布时间】:2012-02-16 16:04:57
【问题描述】:
如何在 cocos2d 中按顺序播放声音有没有人知道例如我有三个类似的声音
[[SimpleAudioEngine sharedEngine] playEffect:[CommanMethods GetCompleteSoundPath:objplate.OrderOneSound]];
[[SimpleAudioEngine sharedEngine] playEffect:[CommanMethods GetCompleteSoundPath:objplate.WithSound]];
[[SimpleAudioEngine sharedEngine] playEffect:[CommanMethods GetCompleteSoundPath:objplate.OrderTwoSound]];
这是音效播放的代码,当一个停止时如何播放,然后再播放一个
【问题讨论】:
-
您可以使用 CCSequence 为 Sound 播放效果!这将是更好的方式!
标签: iphone cocos2d-iphone xcode4.2 simpleaudioengine