Scratch Animation
Game Creation
LET’S PLAY!
Games provide numerous opportunities to explore a variety of computational concepts and skills. Here are some blocks that are frequently useful in games.
TOUCHING
See if two sprites are touching or if a sprite is touching a color
VISIBILITY
Make a sprite appear or disappear
RANDOM
Get a computer-generated number from within a specified range
VARIABLES
Store a number or string in a container to access later
TIMING
Have the computer keep track of time for you
STRINGS
Test, access, and change words and sentences
COMPARE
Compare values to help make decisions within your game
KEY PRESS
Make a sprite respond when different keys are pressed
MAZE
GOAL
Get from the start of the maze to the end
RULES
Don’t touch the green walls
OUTCOME
Win when the yellow marker is reached
have the sprite bounce off the green walls
7 scripts
move the sprite around
no scripts,
draw a maze-like background with colored walls and a differently colored end marker
players wins when sprite reaches the yellow end marker