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

#1 2013-02-12 20:12:04

Pluto1
New Scratcher
Registered: 2013-02-04
Posts: 3

Can someone help us figure this one out

This script broadcasts a message for level 2 but does not carry it out.  When I click on the loop it works but not on the broadcast command.  What should happen is that the red snowflake should fall and if it touches the snowman, it should broadcast, You Lost. 
Can someone please help us discover why this is not happening? Thank you!

Offline

 

#2 2013-02-12 20:24:54

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

Re: Can someone help us figure this one out

Pluto1 wrote:

This script broadcasts a message for level 2 but does not carry it out.  When I click on the loop it works but not on the broadcast command.  What should happen is that the red snowflake should fall and if it touches the snowman, it should broadcast, You Lost. 
Can someone please help us discover why this is not happening? Thank you!

Well, as much as I'd like to help, there isn't much that I can do unless you upload your project or show your scripts; then I'd be able to help.

If you want to look, here's a guide that I've written that tells you how to make Scratchblocks in the forums.

Anyway, hello Pluto1 and welcome to Scratch! I hope that you'll have fun here!

Last edited by ErnieParke (2013-02-12 20:26:58)


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

Offline

 

#3 2013-02-12 21:20:19

Pluto1
New Scratcher
Registered: 2013-02-04
Posts: 3

Re: Can someone help us figure this one out

Sorry. it's called Snowflake Catching 7 by Pluto1, does that help?

Offline

 

#4 2013-02-12 21:27:48

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

Re: Can someone help us figure this one out

Pluto1 wrote:

Sorry. it's called Snowflake Catching 7 by Pluto1, does that help?

Yes, it will help, though I have to go now.


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

Offline

 

#5 2013-02-12 23:31:44

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Can someone help us figure this one out

Your problem is not that it's not broadcasting, but that it's broadcasting too often.

In your white snowflake, you say to broadcast whenever the score is greater than 10, but that means every time that script runs, it rebroadcasts it, which restarts the other script. 

A better way to do this would be to have no broadcast and change your script for the red snowflake to something like this:

when gf clicked
set [score v] to (0)
wait until <(score) > (10)>
forever
rest of your code


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#6 2013-02-13 11:10:30

Pluto1
New Scratcher
Registered: 2013-02-04
Posts: 3

Re: Can someone help us figure this one out

Thank you AB3.  You were very helpful.  I'll try that now.  smile

Offline

 

Board footer