-
Open Scratch in a new tab
-
Select
the Neon Tunnel backdrop
-
Add the following sprites:
- Ball sprite
- Paddle
sprite
-
Add the
code for the ball to make it move and bounce
off the walls and paddles.
- Program the paddle to
move with mouse.
- Add a score add this code to your paddle.
Go to Data and
click make a variable.
Call your variable
score.
- Add 2 of the
following:
- Change what the ball looks like.
- Change the score if the ball touches the paddle.
- Add music that plays when the green flag is clicked.
- Add another ball using the duplicate tool
- Increase the speed of the ball each time it hits the paddle.
|
Example:
|