Pages: 1
Topic closed
Plz help me...
I downloaded music for my project, then uploaded it to my scratch project's background, and went to the background's scripts. I dragged
when green flag clicked forever play sound [my sound is here] until done turn cw (15) degrees turn cw (15) degrees end endbut there is a red line around it!! Why is that??? I REALLY want that music!
Offline
A red line around the scripts appear when something in the block stack can't be read. In your case, the background/stage can't really move, so it can't read the script properly whenever it sees the block
turn right (15) degrees.
Offline
cheddargirl wrote:
A red line around the scripts appear when something in the block stack can't be read. In your case, the background/stage can't really move, so it can't read the script properly whenever it sees the block
turn right (15) degrees.
Just remove those blocks and the script should run fine.
I agree, if you want a sprite to turn put this in your sprite:
when gf clicked forever turn [15] degrees turn [15] degrees endand this in your background:
when gf clicked forever play sound [sound here v] until doneAlso, why do you tell it to turn 15 degrees twice,
turn [30] degreesdoes the same thing.
Offline
Plz help me...
I downloaded music for my project, then uploaded it to my scratch project's background, and went to the background's scripts. I dragged
when green flag clicked forever play sound [my sound here] until done end end
Offline
Each sprite has it own sounds in the sound tab. You'll need to make sure that the background contains the sound, too.
Offline
Topic closed
Pages: 1