Learning Hub/Scratch/Session 1

Session 1 of 5 · 60 minutes

Characterization

Sign up, meet the Scratch screen, and bring a character to life. Then remix a story or hero project.

Goals

By the end of this session you can:

  • Sign up for CS First and log in to (or create) a Scratch account
  • Name the parts of the Scratch screen: stage, sprite, blocks and scripts
  • Make a character say and think things in order
  • Remix a starter project: Interactive Storytelling or Code Your Hero

Words to know

sprite
A character or object on the stage. Each sprite has its own scripts.
script
A stack of blocks that snap together. Scratch runs it from the top down.
block
One piece of code that looks like a puzzle piece. It does one small job.
remix
Make your own copy of someone else's Scratch project, then change it.

The lesson

Step 1: Get ready

  1. Go to the Scratch website, scratch.mit.edu. Create a new account, or log in to the one you already have. Write down your username and password so you do not forget them.
  2. Sign up for CS First, Google’s free coding lessons. Then open the Characterization lesson on CS First. This is the main project for today.

Step 2: Meet the Scratch screen

Open a new project with Create on the Scratch website. You will see four main areas:

AreaWhat it is for
StageWhere your project plays.
Sprite listAll the characters and objects. Click one to work on it.
Blocks paletteThe blocks you can drag out, sorted by color.
Scripting areaWhere you snap blocks together to make a script.

Step 3: Make a character talk

  1. Click your sprite in the sprite list.
  2. From Events, drag when green flag clicked into the scripting area.
  3. From Looks, drag say Hello! for 2 seconds and snap it under the first block.
  4. Click the green flag above the stage.

Scratch runs the stack from top to bottom. Add a second say block under the first and change its words. The sprite now says two things, one after the other.

Step 4: Think, wait and change the order

  • think Hmm… for 2 seconds shows a thought bubble instead of a speech bubble.
  • wait 1 seconds (from Control) pauses the script.
  • Dragging a block up or down changes the order the character acts in. Try it and watch what changes.

Step 5: Projects to remix

The main project today is the CS First Characterization lesson from Step 1. If your class finishes early, choose one of these. Open it, press the green flag, then click See inside to look at its scripts, and Remix to make your own copy.

Now try it yourself

Do the Exercise, then the Small project below, and finish with the quiz.

Exercise

Introduce your character

  1. Pick a sprite from the sprite library, or paint your own.
  2. Add when green flag clicked to the scripting area.
  3. Snap on say blocks so the character introduces itself in three short sentences, one after another.
  4. Click the green flag and watch it run. Then change the order of the blocks and run it again.
Need a hint?

Use say Hello! for 2 seconds so each sentence stays on screen long enough to read.

Small project

My story or my hero

Remix one of the starter projects and make it yours: a story with characters who talk, or a hero you design yourself.

  1. Open Interactive Storytelling or Code Your Hero (links in the lesson) and click Remix.
  2. Press the green flag and play it once, so you know what it does.
  3. Change at least three things: a character, what it says, and a backdrop or a costume.
  4. Run it again and check that it still works.
  5. Show a classmate or your teacher and explain one change you made.

Stretch it: Add a second character and have the two characters talk to each other.

Quiz

Check your understanding

Pick one answer for each question. Your score appears right in the page; nothing is sent anywhere.

  1. Question 1What is a sprite in Scratch?
  2. Question 2Which block usually starts a script when you click the green flag?
  3. Question 3A script has these blocks in order: say "Hi!", then wait 2 seconds, then say "Bye!". What happens first?
  4. Question 4What does it mean to remix a project?
  5. Question 5Your teacher says to write down your Scratch username and password. Why?