In this video, you will program both sprites to continue their conversation.
Conversation, or dialogue, is an important part of storytelling.
Use dialogue to show how your characters’ react when they discover the unusual object.
Click the flag to start.
The first character says the line of dialogue you added previously.
Next, add a response from your other character.
Select the sprite.
Click the code tab, and drag out another “say for 2 seconds” block from the Looks menu.
Think about how your character might react when they discover the object.
Are they frightened?
As the storyteller, it’s up to you to decide what your character will say next.
What you type in the say block will help your audience understand what’s going on in your story.
Type in your second sprite’s dialogue, then click the block to try it out.
Add a “when flag clicked” event to start this dialogue at the beginning of the program.
Click the flag to try it out.
Both sprites talk, but they talk at the same time.
To fix this, select the “control” menu.
Drag out a “wait” block, and place it before the “say for two seconds” block that makes the second sprite talk.
Each sprite talks for two seconds, so change the value in the “wait” block to two.
Click the flag to try it out!
Bugs, or problems, can pop up anywhere in your code.
Test often, so you can catch and fix them.
Continue your characters’ conversation by sequencing “say” and “wait” blocks.
One way to create interesting dialogue is to add conflict.
Imagine what the sprites would say if they disagree on what to do next.
You can also explore adding a new backdrop to enhance the setting of your dialogue.
Now, it’s your turn: Select a second sprite to talk, and add “When flag clicked,” “Wait,” and “Say for 2 seconds” blocks.
Continue to tell your story using “say” and “wait” blocks.
Then, return to this page to select another video to try.
- Watch the example instructional video.
- Open the Teacher Demo Project below.
- Click the green flag to run the existing code.
- Follow the instructions in the video to add code to continue the conversation between the characters in the story.
- Return to review more of our teacher materials.