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

#1 2012-09-28 15:54:44

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Sound Help Again...

i need help again... sorry.

when menu1 clicked
play sound [WiiMenuSelect1 v]
broadcast [Wii Sports Intro v]
play sound [ChannelLaunch v]
wait (0.6) secs
play sound [WiiSportsIntro v]
then on the stage, what do i need to use to stop the "Wii Menu theme" from playing while the channel is open?

when I receive [Wii Sports Intro v]


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#2 2012-09-28 16:04:00

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Sound Help Again...

First you'll need:

when gf clicked
set [channel? v] to (0)
And put this in your music scripts (other than the wii sports channel music):

if <(channel?) = (0)>
 music script here
end
And use this to play the wii sports intro music:

set [channel? v] to (1)
stop all sounds
play sound [wii sports intro v] until done
wait until <not in channel>
set [channel? v] to (0)

Last edited by ErnieParke (2012-09-28 16:08:42)


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2012-09-28 16:19:10

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Sound Help Again...

the sound keeps playing every time the mouse is on it...

when gf clicked
show
forever
if <touching [mouse-pointer v]>
set size to (110)%
else
set size to (100)%
end
if <touching [mouse-pointer v]>
play sound [WiiMenuRollover v]
else

end
end
any help?

plus, i need help with this,

when gf clicked
forever
play sound [Wii Menu theme v] until done
forever if <key [h v] pressed?>
stop all sounds
end
if my scripts are wrong, please change them. thanks!


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

Board footer