Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Can't stop music loop
- nechung
- New to Scratch
4 posts
Can't stop music loop
Hi all,
I am new to scratch and just looking for a basic way to end sound music at the end of my scratch. I have seen previous forums on this but they seem quite difficult and I am unsure as to how to use the ‘repeat until blocks.’ If anyone has a quick fix that can help me, I would be grateful. I have the music in a ‘forever’ loop, is there any other easy alternatives? Thank you
I am new to scratch and just looking for a basic way to end sound music at the end of my scratch. I have seen previous forums on this but they seem quite difficult and I am unsure as to how to use the ‘repeat until blocks.’ If anyone has a quick fix that can help me, I would be grateful. I have the music in a ‘forever’ loop, is there any other easy alternatives? Thank you
- Vibrato
- Scratcher
1000+ posts
Can't stop music loop
How to use repeat until:
And you can set x to 1 elsewhere or inside the loop.
Now you can put a play sound until done inside the loop.
set [x v] to [0]
repeat until <(x) = [1]> // the stuff inside will happen until x = 1
end
And you can set x to 1 elsewhere or inside the loop.
Now you can put a play sound until done inside the loop.
I understand about indecision
In software development, deleting, it's just a concept. Some software might have a delete button and when you click it a thing disappears, but it's not really gone. Okay, it's not gone from the memory.
chances are nobody will find your account, so nobody will follow you.
I'm going to close this suggestion as it is technically implemented and rejected at the same time.
- Discussion Forums
- » Help with Scripts
- » Can't stop music loop