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

#1 2009-01-21 16:18:38

ClubJN
Scratcher
Registered: 2008-10-02
Posts: 21

Click noise?

Is it possible to add a click noise when a user clicks right or left *(on mouse)*

Thanks.


ClubJN Owner!

Offline

 

#2 2009-01-21 17:59:33

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Click noise?

You could use this script.

<when green flag clicked>
<forever>
  <if><mouse down?>
    <play sound[ click
    <wait until><not> <mouse down?> >>
  <end>
<end>

[/blocks]I'm not sure where you'd get a clicking sound, though. Unless you have it already.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2009-01-22 07:04:51

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Click noise?

even simpler
<when[ button ]clicked>
//play sound


<wait until><<  <not><mouse down?>  >>

Last edited by yambanshee (2009-01-22 07:05:08)

Offline

 

#4 2009-01-22 09:37:58

techy
Scratcher
Registered: 2008-12-17
Posts: 100+

Re: Click noise?

yambanshee wrote:

even simpler
<when[ button ]clicked>
//play sound


<wait until><<  <not><mouse down?>  >>

but you would have to click on a sertain sprite so I would change


<when[ button ]clicked>


to


<when[ background ]clicked>


Guppy Inc. making projects famous!
http://web-geeks.com/techy.gifhttp://web-geeks.com/grid.gifhttp://web-geeks.com/challenge.gif

Offline

 

#5 2009-01-22 14:10:56

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Offline

 

Board footer