Skip to content

Please update your browser

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

2. Narrate the Scenes

Transcript

In this video, you will program three different scrapbook pages or scenes.

The starter project contains four backdrops, a “next” button sprite, and a “title” sprite.

Click on the “next” button sprite to see the starter code.

You have used these blocks before in other projects.

The starter code makes the backdrop switch when you click the “next” button.

It also broadcasts the “next” message to the title sprite.

When the title sprite receives the “next” message, it changes costumes.

Test the code to look at the different scrapbook pages, or backdrops.

These backdrops will give you ideas for what you can include in your scrapbook.

What was your favorite project?

What special memory did you and your friend experience together?

Who do you want to thank?

This video will guide you through responding to each of these three prompts.

First, choose a sprite from the library to be the narrator.

The narrator stays onscreen as the backdrop changes and tells the user about each scene.

Use at least 2 “say” blocks to introduce your project.

This example says “Welcome to my Google CS First Scrapbook” and “Click on ‘next’ to see each page!”

Give your introduction personality!

Check out how some other CS First students introduced their scrapbooks.

Next, add a “when flag clicked” event.

Test it out.

When the flag is clicked, the narrator talks and the user knows to click “next.”

Great!

Now, the narrator needs to explain each scene after the backdrop switches.

Go to the events menu, and drag out a “when backdrop switches” block.

Choose the “Fave project” option.

Next, add a few lines about your favorite project using “say” blocks.

This example uses two “say” blocks snapped underneath the “when backdrop switches to” block, but you can use however many “say” blocks it takes to describe your projects.

Check out the projects in your CS First passport to recall all that you’ve created.

What will you say about your favorite project?

Was it fun?

Was it challenging?

What did your friend think of your final program?

What would you like to tell others who will do this activity in the future?

Test your code by clicking the ‘next’ button until the “fave project" backdrop appears.

The narrator sprite will say the lines you added.

After you complete this backdrop, move on to the next.

This one is the favorite memory.

In the narrator sprite, drag out a “when backdrop switches to" block and select the “fave memory” option.

Add a “say” block to introduce your favorite memory.

Did anything funny happen with your friend during the club?

Did you meet a new person?

Did you overcome a particularly tricky challenge?

You can customize the code any way you like.

Finally, make a scene that says “Thank you” to someone.

Use another “when backdrop switches to” and more “say” blocks to narrate the scene.

Thank you's are more powerful when they are specific.

Did your guru help you on a particular question?

Did a friend give you a compliment that made you feel good?

Did someone at home encourage you to sign up for CS First?

Test out the project.

Click the “next” button to test your code.

Users may click the “next” button too quickly for the narrator to keep up.

To fix this, click on the control menu and add a “stop” block to the beginning of each code stack, underneath the “when backdrop switches to” event.

From the dropdown menu, choose “other scripts in sprite.”

This makes it so the narrator says the right thing for the appropriate scene.

For example, in this project, when the backdrop switches to favorite memory, everything else in this sprite will stop.

Then the narrator sprite will say its two lines.

This ensures that the sprite is running the code that matches the current backdrop.

Use the rest of today’s club to finish your scrapbook project.

What do you want to remember and show to your friends?

Whom do you want to thank?

This is your chance to reflect on what you enjoyed about Google CS First Friends, and to curate those experiences to share with others.

Now it’s your turn!

Add a narrator sprite to your project.

Program the narrator to explain each scene using “say” and “when backdrop switches” blocks.

Add a stop block to ensure the narrator is only running the code that matches the current backdrop After you have completed these steps, check out the add-ons on the next page.

arrow_backward Back
Next arrow_forward
Instructions
  1. Add a sprite.
  2. Program the narrator to talk about each scene.
  3. Program a scene for each page of the Scrapbook.