Scratch 1 Lesson 8
Scratch 1 Lesson 8
IT’S VERY
EXCITING TO
SCRATCH
Lesson 8
1
Introduce yourselves!
1. Name and Age
2
Homework Presentation
• Draw with Gobo
3
Homework Presentation
4
Review: More Blocks
• What can we use More Blocks to
do?
• How do we make a custom block
using More Blocks?
1
• What kinds of blocks can we put
inside a custom block? 2
• Can we directly move code from
another part of the program into
a custom block?
4
3
5
Review: More Blocks
• What can we use More
Blocks to do?
• How do we make a new
script block using More 1
Blocks?
• What kinds of blocks can 2
we put inside the new
script block?
• Can we directly move code 3
from another part of the
program into a custom
block? 4
6
Review: Position
X=0
Y=180
Y=0
X=-240 X=240
Y=-180
Review: Position
X=?
Y=180
Y=?
X=-240 X=240
Y=-180
Review: Position
X=?
Y=180
Y=?
X=-240 X=240
Y=-180
Review: Position
X=?
Y=180
Y=?
X=-240 X=240
Y=-180
Review: Position
X=?
Y=180
Y=?
X=-240 X=240
Y=-180
Review: Pick Random
• What can Pick Random do for us?
• How do we use Pick Random?
• Where can we put Pick Random?
• What is the difference between Pick Random and Go To
Random?
Who here likes pizza better? Who here likes noodles better?
I like pizza better! If I had 2 options for lunch, my thinking would be:
“If there is pizza, then I will eat it. Or else , I will eat noodles”
Programming in Scratch is exactly the same!
Everyone tell me how they would choose which lunch to eat
Making decisions in Scratch
• When we are making decisions, the “or else” part is
optional! Sometimes you don’t need it.
• I am not very hungry, but I like pizza:
If there is pizza then I will eat it.
(if there is no pizza, I won’t eat anything)
• I am hungry! I need to eat something! I prefer to eat pizza,
but I will also eat noodles:
If there is pizza, then I will eat it. Or else , I will eat
noodles
19
Unfriendly Penguin!
• The penguin doesn’t like being touched!
• We use if… then… else… to decide what the
penguin will say:
Let’s add
many
yellow
fishes
Sharks eat fishes!_ (Clone)
Let’s add many yellow fishes
To add many yellow fishes together on the stage we just make
copy of the original one.
Who can tell me how to make a copy of sprite on the stage?
1- duplicate tool
2- stamp script
3- Clone
What is clone?
It’s a temporary duplicate of the specified
sprite without code
Note: The clone only lasts while the project is
running
Choose which sprite to clone from the drop-
down menu.
To tell the clone what to do once it's
created use
• This code will stop the game after 1 minute, can you
explain it
Timer
• We can move with timer We can move with timer
44
Homework Task 1
• Choose one of the games to make
from your book
45
Homework Task 2
• Create a new project to animate
Tom and Jerry game