Jump to content

do i need to call Sound.stop() after Sound.fadeOut() on a looped sound?


valueerror
 Share

Recommended Posts

the question is:  does fadeOut(); stop a loop?  

 

i start my music with the following lines:

heartbeat = game.add.audio('heartbeat',1,true);heartbeat.play('',0,1,true);

so it runs in a loop..

 

then i call 

heartbeat.fadeOut(700);

and i wonder if i have to stop it afterwards to avoid that the sound is running along with 0 volume...

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...