I can play my desired sound by putting the code below.
theSoundBG.play();
However, I can’t stop the sound when I put this code.
theSoundBG.stop();
I will get an error saying “stop is not a function” when the game runs.
Help ? Thanks.
I can play my desired sound by putting the code below.
theSoundBG.play();
However, I can’t stop the sound when I put this code.
theSoundBG.stop();
I will get an error saying “stop is not a function” when the game runs.
Help ? Thanks.
:: Copyright KIRUPA 2024 //--