Playing sounds in sequence with SimpleAudioEngine
问题 I'm building an iOS app with cocos2d 2, and I'm using SimpleAudioEngine to play some effects. Is there a way to sequence multiple sounds to be played after the previous sound is complete? For example in my code: [[SimpleAudioEngine sharedEngine] playEffect:@"yay.wav"]; [[SimpleAudioEngine sharedEngine] playEffect:@"youDidIt.wav"]; When this code is run, yay.wav and youDidIt.wav play at the exact same time, over each other. I want yay.wav to play and once complete, youDidIt.wav to play. If not