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

#1 2013-02-26 20:33:38

tvstar
New Scratcher
Registered: 2013-02-26
Posts: 2

Why won't the red krill fall?

Does anyone know why the krill will not fall?  I have the command change y by -1 in forever but it won't move.  Thanks for your help!!

Project Name is fish AND CRILL-3-1-3-1-2-1 (4) by tvstar

Offline

 

#2 2013-02-26 21:00:16

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Why won't the red krill fall?

I commented.  smile

Regards,

CAA14

Offline

 

#3 2013-02-26 21:05:12

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Why won't the red krill fall?

It's because you are broadcasting "background2" over and over and over. Only broadcasting it once should solve the problem,.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#4 2013-02-27 10:23:32

tvstar
New Scratcher
Registered: 2013-02-26
Posts: 2

Re: Why won't the red krill fall?

I have broadcast2 listed only once, but it is in "Forever claws."  Is that the problem?  The other broadcast instruction works - it changes the screen and shows the krill, it's just not letting it fall even though I have change y by -2 in the script.  This is my student's work and I've looked at this over and over again trying different things each time.  I just can't seem to solve this one.  Thank you for your help!
Mrs. T.

Offline

 

#5 2013-02-27 15:15:38

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Why won't the red krill fall?

Well, if it's in a forever loop, then it will always be broadcasting whatever you are having it broadcast.
I am not sure what the problem is, but again, i haven't looked at the project.
If that broadcast is telling that krill to go a certain place, then yes, the forever loop is the problem.

Regards,

CAA14

Offline

 

#6 2013-02-27 15:45:51

shadowmouse
New Scratcher
Registered: 2013-02-03
Posts: 100+

Re: Why won't the red krill fall?

From what I've just read, the problem sounds like the fact that if you have a script topped with a when I recieve block, the first time it recieves it starts the script but if it recieves again before it's finished, then it resarts the script, stopping whatever it was doing. The problm is that you broadcast background2 but before the krill can move, it broadcasts it again, restarting the fall script.

Offline

 

Board footer