Scratch Pong Instructions
Scratch Pong Instructions
*Scratch only works on a computer. For iPad access please use Scratch Jr. App.
1. Delete the Cat Sprite (Click on the scissors and then click on the Cat).
2. Create a Paddle Sprite
a. Click “Paint new sprite” icon
b. Draw a rectangle with the rectangle tool
c. Name the Sprite “Paddle”
3. Create a Ball Sprite
a. Click “Paint new sprite” icon
b. Draw a ball
c. Name the Sprite “Ball”
4. Create a script (program) for the Ball Sprite (Part 1)
a. Select the Ball Sprite
b. From the Events blocks, drag a “When Green Flag Clicked” into scripts field
c. From the Motion blocks, drag a blue “point in direction” and connect it to Green
Flag script
d. From the Operators blocks, drag a green “pick random 0 to 360” inside the
“point in direction” script
e. From the Control blocks, drag a yellow “forever” and connect it to the above
scripts
f. From the Motion blocks, put a blue “move 5 steps” inside the “forever”
g. From the Motion blocks, put a blue “if on edge, bounce” inside the “forever” block
6. Create a Script for Paddle Sprite. This allows the paddle to follow the mouse.
a. Select the Paddle Sprite
b.From the Events blocks, drag block “When Green Flag Clicked” into scripts
field
c. From the Control blocks, drag a yellow “forever” block and connect it to Green
Flag Script
d. From Motion blocks, drag a blue “set x to…” within forever block
e. From Sensing blocks, drag a “mouse x” block and place in “set x to..”
EXTENDED CHALLENGES: