The One Where You Scratch One Player Pong
Create A Backdrop Create a backdrop Bottom of stage should have a “kill” zone Rename backdrop, “Stage”
Draw Sprites Create a minimum of two Sprites (a ball and a paddle) Rename Sprites, “Ball” and “Paddle” Sprite is a two dimensional graphic
Program Ball Events Script - Begins the script for the “Ball” sprite Motion Script - Tells ball where it will begin and in which direction to travel Control Script - Forever loop - Actions within here will repeat forever Motion Script Tells ball to bounce when it hits edge Tells ball speed at which to move
Program Ball If/Then Script If ”Ball” touches ”Paddle” then: Play a sound to identify Turn Clockwise between 160 and 200 degrees Maintain speed If/Then Script if ball touches the color, RED then: Play a sound to identify Stop game
Program Paddle When program begins: Forever Loop Paddle to follow mouse on x-axis
Make it Your Own You have successfully made Pong Add to your program and make it your own Make a different stage Make the ball speed up each time it hits paddle Add a counter and try to beat your high score HAVE FUN!