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

#1 2010-05-21 07:00:33

froxer
Scratcher
Registered: 2010-05-21
Posts: 2

Rookie here, Needs a hand - School project.

Well, I am doing a simple School project with Scratch and i wouder if i could do so each time the sound lvl gets to 100 it changes the background? I've tried for about 30 min but couldn't figure out how. Could someone be kind and give a hand, time is short friends  smile .

Froxer

Offline

 

#2 2010-05-21 07:03:12

MaxtheWeirdo
Scratcher
Registered: 2010-03-18
Posts: 500+

Re: Rookie here, Needs a hand - School project.

[blocks]
<if><(<loudness><=> 100 )>
<switch to costume[ x
<end> [/blocks]
Hope this helps.


My website. Hall Crawler My Awesome OS
It's just marketing, guys! Nothing sinister!

Offline

 

#3 2010-05-21 07:16:19

froxer
Scratcher
Registered: 2010-05-21
Posts: 2

Re: Rookie here, Needs a hand - School project.

Thanks, it mades sense but i cant get it to do what i want it to do  sad

When loudness goes 50+ (set at 50) nothing happends.

Offline

 

#4 2010-05-21 07:38:16

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Rookie here, Needs a hand - School project.

froxer wrote:

Thanks, it mades sense but i cant get it to do what i want it to do  sad

When loudness goes 50+ (set at 50) nothing happends.

Then change it to this:

Code:

When green flag clicked
forever
  if <(loudness) > (50)>
    switch to costume [x]
  end
end

That should make it that if the loudness is 51 or greater, it will change.

Offline

 

Board footer