Tuesday, November 1, 2011


This week we used Broadcast in our Scratch programs.  A sprite object cannot modify the properties of another sprite object.  It can however braodcast a message and another sprite or the stage can respond to the broadcast when it is received.  We used the following code to change the background when the cat reaches the right hand side of the stage:

Script for the cat:
Script for the stage to respond:

No comments:

Post a Comment