pong game in 15 minutes
TRANSCRIPT
-
7/31/2019 Pong Game in 15 Minutes
1/2
--
Pong Game in 1 5 minutes!( Bye bye, Scratch Cat ! )
Make the mouse control the paddle (-)
Make the ball start in the middle of the screenMake the ball move horizontal (-----)
(point 9 0 and move 1 0 steps)Make it bounce back from the edges of the screen
Make it bounce back in any direction (0 3 6 0)
If the ball hits the danger zone, make it stop
If the ball hits the paddle, make it go back
in another direction (-1 4 0 2 20 )
H i n t s
Motion
Operators Sensing
Sounds
Control
Countervariables
-
7/31/2019 Pong Game in 15 Minutes
2/2
The Scratch screen is set up
like agraph!The x axis runs from 2 4 0 to 2 4 0.The y axis runs from - 1 8 0 to 1 8 0.
The Scratch screen is set up
like acompass!Direction angles are set up from
o degrees to 360 degrees.