With Scratch, you can create simple stories using different characters. In this example, we will create a simple conversation between two characters.
If you’re not familiar with the Scratch editor interface, see this intro.
This is what we are building (though this is just an outline that you can create your own story from)
The first thing to do is to choose your ‘Sprite’. To remove the default Sprite (Scratch cat), right-click on the sprite icon and choose ‘Delete’.
You can then add a new sprite from the sprite gallery.
We can add a backdrop to help set the scene for our conversation to take place. Click on the ‘New backdrop’ option and choose where you’d like to set your story.
Choose whatever backdrop you want for your library. For this example, we’re going to use one of the Space backdrops.
Now, let’s add our first conversation script.
We start with a ‘When Flag Clicked’ block. It looks like this and you can find it under the Events category:
This means the script will start running when we click the green flag icon that appears at the top of the stage.
Then add a dialogue block. It’s found in the Movement palette. You can add whatever greeting you want here.
Next add a wait block. This gives the pause in the conversation where another character can reply.
Your script should now look like this:
Let’s add a second character for our robot character to talk to. As before, add a new Sprite from the sprite library. Select the new sprite and add a script that continues the conversation.
The conversation exchange is all about timings. Make sure that each character is given time to say something and hear the reply.
You can see that the length of time the first character is speaking and the time the second character waits match.
You can add additional wait and say blocks to keep the conversation going.
Our first character’s script looks like this:
And the second character’s script looks like this:
You can extend the story further with additional sprites and backdrops.
Subscribe to this blog via RSS.