Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Loops.
- HectorVector245
-
40 posts
Loops.
I have been trying to make music play in the backgrounds of my games and play continually but if you go to a certain backdrop it stops and switches to a different song, I have been trying to use this script but it continues playing and just restarts the song.
When I leave out the forever loop it will work, but the problem is it will not repeat when finished.
When I leave out the forever loop it will work, but the problem is it will not repeat when finished.
- MookyE
-
100+ posts
Loops.
Forever
If backdrop =1
Play sound1
Else
Play sound2
When backdrop is switched stop all sounds
If backdrop =1
Play sound1
Else
Play sound2
When backdrop is switched stop all sounds
- HectorVector245
-
40 posts
Loops.
Forever
If backdrop =1
Play sound1
Else
Play sound2
When backdrop is switched stop all sounds
Thank you so much, this helps a ton!
- Discussion Forums
- » Help with Scripts
-
» Loops.