I have some problem with the "When I receive message" block in my scratch project. Sometimes the block worked just fine but other times when the corresponding message was broadcast, after receive the message, only the first one or two following moves were activated. In other words, when receiving the message, the script gets stuck in the middle. But when I went through the receiving script individually, I found it ran smoothly. So could someone help me with it? The problematic blocks are with the sprites named "heart","words" and "boy"and "girl" in the last scene. Here is the address in scratch: http://scratch.mit.edu/projects/47738788/.
1 Answer
The problem is caused by "Sprite 21". There's a script that says
forever
if disappear is 18
broadcast "block-disappear"
The problem is that even after the message is broadcasted, disappear
is still 18 and the forever block is still working.
-
-
@YujiaLv you may up-vote the answer and accept it if it answers your question to mark your question as solved! Thank you!– kzidane ♦Feb 17, 2015 at 19:23