Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more.

Transcript

In this video, you'll create an object for your character to encounter.

And you will tell the story of how your character reacts to it.

First, click on the character sprite in Scratch and click the costumes tab to see the character choices.

This example will use the Person5 costume but choose any costume you like for your story.

Click to select the costume.

The starter project already includes some code.

Click the flag to see what it does.

When the flag is clicked, the character sprite moves up and down so it looks like it's walking.

A stack of code also runs that makes the character say one sentence.

Code blocks stacked together like this provide instructions to the computer and the computer follows these instructions from the top down.

Add more blocks to the stack to continue telling the story.

Click on the events menu.

Click on the broadcast block to see what it does.

This broadcast block sends the message cat to the rest of the project.

The object sprite contains starter code that is listening for the message cat.

When it receives cat, it will change the object's costume to the cat and make the cat move across the screen.

Look at the costumes tab of the object sprite to see all the possible costumes.

Use the broadcast block to make it possible for your character to see more objects.

Drag the broadcast block to the bottom of the block stack and snap it to the say block.

Click on the menu to see a list of objects and choose the one your character will see first.

This example uses cat.

Click the green flag to try your code.

Great, the character starts walking, says something, the sign appears, and then the cat appears.

Next, click on the looks menu.

Click the say for two seconds block to see what it does.

It makes the character say hello for two seconds.

Add a say block to the bottom of your block stack and enter the words your character will say when it sees the object.

This example will say I have always wanted a cat but my sister is allergic to cats.

You will write a sentence that makes sense for your story and your character.

If you write a long sentence, tinker with the time in the say block to give your readers enough time to read it.

Add more broadcast blocks to create objects for your character to encounter.

And use say and think blocks to make your character respond to what it sees.

Making a character respond to the environment around it is a classic storytelling technique that will help your reader understand your character's personality.

For example, when your character sees something unexpected, does it react with fear or surprise?

Is it excited by a new object?

Or does it pretend to have seen it before and play it cool?

Use the say and think blocks to show your character's personality.

Stuck?

Ask the person next to you for help.

Now it's your turn.

Add at least three objects for your character to react to using broadcast blocks.

Tell the story of how your character responds to unexpected objects using say and think blocks.

Instructions
  1. Add at least 3 objects for your character to react to using "broadcast" blocks.
  2. Tell the story of how your character responds to unexpected objects using "say" and "think" blocks.