Scratch Game
Scratch Game
PDFelement
UNIT 5
GAMES
UNIT 5
OVERVIEW
THE
THE “BIG IDEA”IDEA”
“BIG
Personalization is an important guiding principle in the design of the creative computing experience. By “personalization”, we
mean both connecting to personal interests and acknowledging that personal interests can vary considerably. There are many
ways of knowing and doing – and exploring these multiple ways can help support interest, motivation, and persistence among
young learners. In this unit, learners explore some of the advanced concepts and challenging problems associated with game
design. An advanced concept or challenging problem can be made more accessible if rooted in activities that are personally
meaningful. As an example of the power of context, we turn to a story shared by Mitch Resnick – the director of the Scratch
project at MIT.
A few years ago I was at one of our Computer Clubhouse after
school centers and I saw a 13-year-old boy working on creating his
own game. He was able to control a character, in this case, a fish. He
wanted the game to keep track of the score, so you could see how
many little fish had been eaten by the big fish, but he didn’t know
how.
POSSIBLE PATH
How can you add What are different Tackle nine Scratch Help!
score to a game ways of extending programming Can you debug
using variables? and increasing puzzles. these five Scratch
difficulty in a game? programs?
Remove Watermark Wondershare
PDFelement
SCROLLING
HOW CAN YOU USE SCRATCH TO BUILD AN
INTERACTIVE GAME?
START HERE
❑ Create two sprites: one for the player to control Controls sprite movement
THINGS TO TRY
This creates clones, which are used in the
Causes sprite to constantly fall downward
script below to make the bars scroll across
❑ How do you add difficulty to your game? the screen:
Creating different levels, using a timer, or
keeping score are a few examples of things
you could do.
❑ Experiment with changing the look of your
game by editing the backdrops!
❑ Explore using different key presses to control
your sprites!
Specifies when the game ends
FINISHED?
BLOCKS TO PLAY WITH FINISHED?
UNIT 4 ACTIVITY
SCORE OBJECTIVES
By completing this activity, students will:
+ be able to describe what a variable is and why
variables are useful
SUGGESTED TIME
+ be introduced to the computational concept of
30–45 MINUTES data
+ experience remixing and reusing a project or part
of a project
SCORE
HOW CAN YOU KEEP SCORE IN A
SCRATCH PROJECT?
START HERE
❑ Go to the Fish Chomp project page:
http://scratch.mit.edu/projects/10859244
❑ Click on the Make a Variable button in the Data
category to create and name a variable for
score.
❑ Experiment with your new variable blocks to
incorporate score into your project!
E E L I N G
F
U C K ?
ST E THIN
GS…
THES
THAT ’S OKAY! TRY FINISHED?
UNIT 4 ACTIVITY
INTERACTIONS OBJECTIVES
By completing this activity, students will:
+ explore different approaches to making projects
interactive by solving a series of nine
programming puzzles
+ gain more fluency in the concepts of conditionals,
operators, and data, and the practice of testing and
debugging
INTERACTIONS ❑ PUZZLE 1: Whenever you press the B key, the sprite gets a little
bigger. Whenever you press the S key, the sprite gets a little smaller.
WHAT DIFFERENTIATES A SCRATCH ❑ PUZZLE 2: Whenever the sprite hears a loud sound, it changes color.
PROJECT FROM A STILL IMAGE OR A VIDEO?
Tackle these nine puzzles that engage some of ❑ PUZZLE 3: Whenever the sprite is in the top 25% of the screen, it
the more advanced concepts in Scratch related to says "I like it up here."
interactivity. Each of these challenges has several
possible solutions.
❑ PUZZLE 4: When the sprite touches something blue, it plays a high
note. When it touches something red, it plays a low note.
START HERE ❑ PUZZLE 5: Whenever two sprites collide, one of them says: "Excuse
me.”
❑ Create a Scratch program for each of the nine
interactivity puzzles.
❑ PUZZLE 6: Whenever the cat sprite gets near the dog sprite, the dog
turns and runs from the cat.
E L I N G
FE
❑ PUZZLE 9: Whenever you move the mouse-pointer, the sprite follows
but doesn't touch the mouse-pointer.
U C K ?
ST E THIN
GS…
HES
O KAY ! TRY T FINISHED?
THAT’S
❑ Before getting started in Scratch, write down ideas in + Add each of the projects you create to the Interaction
your design journal for possible ways of programming Studio: http://scratch.mit.edu/studios/487213
each of the interactivity puzzles. + Help a neighbor!
❑ Work with a neighbor. Collaborating with a partner can + Discuss your strategies for approaching each puzzle with
be a great way to solve problems and gain new a partner. Take notes about the similarities and
perspectives on ways of programming in Scratch! differences in your methods.