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

Many doodles tell a story by making letters interact with each other.

In this video, you will make sprites talk to each other to tell a story with your logo.

(cheery music)

To start, select a sprite to start talking.

This example uses the letter G, but select any sprite you'd like.

Then, select the looks menu.

(cheery music)

Click, hold, and drag out a say for two seconds block.

Click the block to see what it does.

(cheery music)

All right, the sprite says, "hello."

Change the text in the block to what you would like the sprite to say.

This example uses, "Do you have any plans this weekend?"

But use the words that work best for your story.

Next, add an event to tell the computer when to run this code.

Select the events menu and drag out a when flagged clicked block.

This block runs the code when you click the flag at the top of the stage, try it out.

(cheery music)

All right, next, continue your story by making another sprite say something.

Select a sprite.

(cheery music)

Select the looks menu, and add another say for two seconds block.

Change the text to what you'd like the sprite to say.

It might answer a question the first sprite asked or respond to what it said.

In this example the sprite responds with, "No."

To run this code when the flag is clicked, add a when flag clicked block.

(cheery music)

Click the flag to try it out.

Both sprites talk, but they talk at the same time.

To change this, program one sprite to wait while the first one talks.

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.

(cheery music)

All right, build out your story with more say for two seconds and wait blocks.

(cheery music)

Test your program often to make sure it's working how you intend.

(cheery music)

Now it's your turn, select a sprite to begin talking.

Add a say for two seconds and when flag clicked block.

Select a second sprite to talk and add a when flag clicked, wait, and say for two seconds block.

Continue to add say ... and wait blocks to make your sprites talk to each other and continue your story.

Once you finish these steps, return to this page to select another video.

(cheery music)

Choose an Add-On
Change Color
Create an interactive logo by changing letter colors when a key is pressed.
Say Something
Tell a story with talking letters.
Switch Costume
Change the style of a letter each time it's clicked.
Add Backdrop
Add an image behind the logo.
Edit, Draw or Add Letters
Edit, draw, or add an image to change how a letter looks.
Jumble Letters
Make your letters randomly move across the screen.
Chase
Turn your logo into a game where a letter chases the mouse pointer.
Spin
Make a letter spin.
Change Scene
Add a button that changes the scene behind your logo.
Dance Whirl
Make your letters whirl to music.
Bouncing Sprites
Animate your letters to make them bounce.
Disappearing Sprites
Play a sound as a letter disappears.
Next arrow_forward
Instructions
  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your logo.
Attributions
  • "Doodle 4 Google 2012- Behind the Scenes with the Doodle Team" by Google (https://www.youtube.com/watch?v=i6RWpg7oVgc) -- Licensed by Standard Youtube License (https://www.youtube.com/static?template=terms)
  • "Google Doodle Team Q&A - Your Questions Answered!" by Nat & Friends (https://www.youtube.com/watch?v=IglWB66vn7g) -- Licensed by Standard Youtube License (https://www.youtube.com/static?template=terms)
  • "Who Was Lotte Reiniger, And Why’s There A Doodle About Her" by Nat & Friends (https://www.youtube.com/watch?v=MK1P6RGs6U4) -- Licensed by Youtube License (https://www.youtube.com/static?template=terms)