This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-06-26 18:23:00

SLK
Scratcher
Registered: 2008-06-15
Posts: 20

Music Repeat, Loop, Stop

How can I make the main theme song play forever, and repeat?

Also, how can I make it stop playing when the hero sprite (mario) saves the princess, so that the second ending song can start playing?

Thanks

Offline

 

#2 2008-06-26 18:26:26

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Music Repeat, Loop, Stop

Using the forever block. I used this for my Pokemon game and Guitar Tuner:

[blocks]<forever>[/blocks]
[blocks]<if><( <{ Sound }>  <=> 0  )>[/blocks]
[blocks]<play sound[ Sound until done[/blocks]
[blocks]<end>[/blocks]
[blocks]<end>[/blocks]

And it will set the variable to one when you want it to (make sure you reset it though when green flag clicked  smile  )


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

Board footer