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

#1 2012-09-29 15:08:21

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Wind not working

On one of my projects, the windspeed doesn't reset when it's supposed to. This happens offline, too. But I see nothing wrong with it. Here's the project.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#2 2012-09-29 15:08:49

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Wind not working

Shouldn't this be in help with scripts?


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#3 2012-09-29 15:17:21

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Wind not working

No, because even offline, it doesn't work. I didn't see anything wrong with the wind script (which is in the Stage).


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#4 2012-09-29 15:47:45

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Wind not working

3sal2 wrote:

No, because even offline, it doesn't work. I didn't see anything wrong with the wind script (which is in the Stage).

Are you sure? It really could be a scripting error you haven't figured out yet.

Upload what you have now so others can take a look. I'll move it to 'Help With Scripts' for now - it can be moved back to the 'Bugs and Glitches' section if it really is a Scratch-related bug.  smile  [edit] Ah, looks like the project is uploaded already. My bad ^^;

Last edited by cheddargirl (2012-09-29 15:48:33)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#5 2012-09-29 16:15:13

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Wind not working

You've overcomplicated the script.  tongue

when gf clicked
forever
if <(level) = [3]>
play sound [wind v] until done
end
end
IF you REALLY need the windspeed variable:
when gf clicked
forever
if <(level) = [3]>
set [windspeed v] to [0]
play sound [wind v] until done
end
if <(level) = [4]>
set [windspeed v] to [0]

Last edited by soupoftomato (2012-09-29 16:17:49)


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#6 2012-09-30 09:28:34

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Wind not working

Not working. You should move this back to Bugs and Glitches.

Edit: Oh, thanks soupoftomato.

Last edited by 3sal2 (2012-09-30 09:34:02)


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#7 2012-09-30 09:37:12

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Wind not working

Close.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#8 2012-09-30 12:00:55

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Wind not working

3sal2 wrote:

Close.

In the future, please use the Report button to ask for a topic to be closed.  The mods are far more likely to see it  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer