STOP!
Before you begin, make sure that you have:
When the tasks above are complete, you're ready to begin part 2!
- completed Paddle Game - Part 1
- completed Paddle Game Part 1 reflection on Google Classroom
When the tasks above are complete, you're ready to begin part 2!
In part 2, you will:
- learn about and use VARIABLES and CONDITIONALS, as well as SENSING tools in Scratch
- add player points to your paddle game
- add functionality to the paddles
Step 1: Vocabulary (New and Review)
Watch the video below to hear about how we will use variables and conditionals in Scratch!
Watch the video below to hear about how we will use variables and conditionals in Scratch!
Step 2: Set your paddles
We need to make sure our paddles are aligned correctly and can move to play the game! Watch the next video to see how this is done!
We need to make sure our paddles are aligned correctly and can move to play the game! Watch the next video to see how this is done!
The scripts for Player 1 and Player 2 should look like this when you are done:
To add vertical movement, use "A" and "Z" for Player 1. Use "K" and "M" for Player 2.
Step 3: Add "sensing" function to paddles
Watch the video below to learn how we'll use the "sensing" menu to make our paddles bounce the ball!
Watch the video below to learn how we'll use the "sensing" menu to make our paddles bounce the ball!
Your script for the Ball sprite should now look like this:
Step 4: Add player scores
Watch the video below to see how we will use variables to record player scores throughout our game.
Watch the video below to see how we will use variables to record player scores throughout our game.