I want to make a sound play forever, but I always hear a stop occasionally! Can someone tell me how to fix it?
My Script:
[blocks]<when green flag clicked>
<forever>
<play sound[ whatever ]and waits>
<end>
HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!
Last edited by Robot_Maniac (2011-01-15 14:06:21)
Offline
I don't know. That script should work. Is there something in your project that has the block "stop all sounds" ? If there is, that would explain it. Every time the stop all sounds block is activated, it makes the script you posted start over.
Offline
yeah, it doesn't work. (This piece of information might help...) I'm using the sounds DrumMachine, Hip-Hop, Techno, Techno 2, and Jungle.
Offline
Your script is fine, but Scratch takes a while to repeat. Instead of using the "and wait" block just use a regular "play sound" block. Then, see how long the song is and add a "wait () secs" block for the little bit less than the length of the song. You'll have to experiment to get it exactly right.
Offline
wow! Thanks!
Offline
Scratch takes a while to start playing a sound, but there shouldn't be any delay online.
Offline