cocos2d x - Playing 2 audio files consecutively -


I need to run 2 audio files continuously, when the first time ends, the seconds must start playing ...

2 calls for PlayEffect () runs files simultaneously.

  SimpleAudio Engine :: meet () - & gt; Play effect ("effect 1. mp3"); SimpleAudio Engine :: Milan () - & gt; Play effect ("effect 2. mp3");  

It is doing what it is going to do.

From the top of my head, if you know the periods of each effect, you can play effect 1 with a delay of effect1 and set one method, once you call that method Can play impact 2.

It is dirty, but it will work. : P


Comments