0

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/.

2

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.

  • Thank you so much!!!!!! – Yujia Lv Feb 17 '15 at 17:19
  • @YujiaLv you may up-vote the answer and accept it if it answers your question to mark your question as solved! Thank you! – Kareem Feb 17 '15 at 19:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .