Discuss Scratch
- Discussion Forums
- » Open Source Projects
- » how do i make a scratch when you press it it changes music
- ihavecandy7
-
23 posts
how do i make a scratch when you press it it changes music
Hello @Galatic-Man, this post doesn't belong in this section.
Above code should change the selection by 1 each time a sprite is clicked and reset to 1 when it runs out of songs.
'Help wanted' posts doesn't fit this discussion's topic, you'll find better help in ‘Help with Scripts’ topic.
when this sprite clicked
change [selection v] by (1)
stop [other scripts in sprite v]
broadcast [music v]
when I receive [music v]
if <(selection) = [1]> then
play sound [dadale v] until done
end
if <(selection) = [2]> then
play sound [march, march v] until done
end
if <(selection) = [3]> then
set [selection v] to [1]
end
Above code should change the selection by 1 each time a sprite is clicked and reset to 1 when it runs out of songs.
'Help wanted' posts doesn't fit this discussion's topic, you'll find better help in ‘Help with Scripts’ topic.
Last edited by ihavecandy7 (Nov. 17, 2022 18:27:16)
- Galatic-Man
-
4 posts
how do i make a scratch when you press it it changes music
mb and thank you!
- Galatic-Man
-
4 posts
how do i make a scratch when you press it it changes music
you just pick your music or download it from places
- Discussion Forums
- » Open Source Projects
-
» how do i make a scratch when you press it it changes music