Discuss Scratch

IceCreamAndKitties
New Scratcher
2 posts

Not Sure How to Play a Sound Forever in My Project

I am trying to play a sound that will last forever in my project instead of just until the sound finishes, but there isn't any block that says “play ____ sound” so that I can just place it under the block that says “forever” under Control in the Code section. Does anyone know what I can do? Thanks!

Last edited by IceCreamAndKitties (Jan. 16, 2021 22:36:42)

mstone326
Scratcher
1000+ posts

Not Sure How to Play a Sound Forever in My Project

Put a play sound until done in a forever and it will play the duration of your project.
PizzaAddict4Life
Scratcher
1000+ posts

Not Sure How to Play a Sound Forever in My Project

forever
play sound [ v] until done // This will make it so that the sound will play, then once it is done, it will play again
end

forever
play sound [ v] // This should just play the sound over and over again, even if it doesn't finish.
end // It might be called "start sound" instead of "play sound" though

Ninja'ed

Last edited by PizzaAddict4Life (Jan. 16, 2021 22:38:51)

IceCreamAndKitties
New Scratcher
2 posts

Not Sure How to Play a Sound Forever in My Project

Thank you so much!! It looks like it's working. I had to make some adjustments because I realized that when I put wait 30 seconds and then played a different sound, things seemed to be thrown off. Thanks again!

Powered by DjangoBB