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

#1 2012-12-05 14:31:57

HabaDB
Scratcher
Registered: 2012-08-17
Posts: 14

How to make a sound button?

In my game, I want to have a button that, when clicked, controls if the background music plays or not. If you could help me, that would be great!  smile

Offline

 

#2 2012-12-05 14:43:20

HabaDB
Scratcher
Registered: 2012-08-17
Posts: 14

Re: How to make a sound button?

please help!!!!! :'(

Offline

 

#3 2012-12-05 15:03:54

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: How to make a sound button?

When the button is clicked broadcast "something" and then have a script saying when I receive "whatever you broadcast" stop all sounds, or play sound. Hoe this helps  smile

Offline

 

#4 2012-12-05 15:05:45

HabaDB
Scratcher
Registered: 2012-08-17
Posts: 14

Re: How to make a sound button?

does this work if you want it to change costumes too?


dankill51 wrote:

When the button is clicked broadcast "something" and then have a script saying when I receive "whatever you broadcast" stop all sounds, or play sound. Hoe this helps  smile

Offline

 

#5 2012-12-05 15:12:08

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: How to make a sound button?

Yeah

Offline

 

#6 2012-12-05 15:12:44

HabaDB
Scratcher
Registered: 2012-08-17
Posts: 14

Re: How to make a sound button?

ok

Offline

 

#7 2012-12-05 17:13:34

bubby3
Scratcher
Registered: 2012-11-19
Posts: 44

Re: How to make a sound button?

when button clicked
play sound [sound v]

Offline

 

#8 2012-12-05 17:15:24

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

Re: How to make a sound button?

bubby3 wrote:

when [button v] clicked
play sound [sound v]

Fixed to an extent.


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

Offline

 

#9 2012-12-11 14:08:50

HabaDB
Scratcher
Registered: 2012-08-17
Posts: 14

Re: How to make a sound button?

That's good! Thanks!

ErnieParke wrote:

bubby3 wrote:

when [button v] clicked
play sound [sound v]

Fixed to an extent.

Offline

 

Board footer