angelkom Posted February 28, 2014 Share Posted February 28, 2014 How can I play a sound one by one. For example I have two sounds and I want the second sound to play after the first sound finishes/ Quote Link to comment Share on other sites More sharing options...
enpu Posted March 3, 2014 Share Posted March 3, 2014 Use callback in playSound function:http://www.pandajs.net/docs/classes/game.Audio.html#method_playSoundgame.audio.playSound('sound1', null, null, function() { game.audio.playSound('sound2');}); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.