3.5.2 Converstations

View

What are different ways to coordinate interactions between sprites?

In this activity, you will explore different options of making a sprite have a conversation.

The remix function is added to Scratch so that people can experiment with other people's projects.  For example, you can start from someone else’s project and you find something to improve, instead of creating your own story, you could just add what you want, and remix!  Keep in mind that the purpose of remixing is to add/change something, not just copying someone else’s work!

 

Activity: Remix the Penguin Story

Step 1. Visit the Penguin Joke starter project in the link below to observe how a conversation can be animated using wait blocks.

Sep 2. Use the remix function and redesign the Penguin Joke project to coordinate the conversation using the broadcast, broadcast and wait, and when I receive blocks. (https://scratch.mit.edu/projects/551314959)

 

Figure 92: Penguin and Puppy blocks

 

Step 3. Rename each message from Penguin and broadcast the message name using broadcast and wait block from the event palette.

Step 4. Instead of using wait for x number of seconds, enable the puppy to respond when it receives the message from the penguin using “when I receive”.

 

Figure 93: Using the “When I receive block”

Figure 94: Penguin and Puppy conversation after using remix functions

 

Have a look at this example: https://scratch.mit.edu/projects/551314959