O'Reilly logo

Scratch 1.4 by Michael Badger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - open the sample pong project

Open the sample pong game that's included with Scratch:

  1. In Scratch, click the File | Open menu to display the Open Project dialog box.
  2. Click on the Examples button. Then open the Games folder and select Pong. Click OK to load the project.
  3. Play the game by clicking on the flag. Move the mouse left or right to control the paddle and hit the ball.
  4. Move the mouse up and down the stage. The paddle doesn't move.
  5. When you've had enough, stop the game.
  6. Let's get some more information about what the ball is doing. From the Motion palette, click on the checkbox next to direction. This displays a new report block on the stage that shows the ball's direction.
  7. Play the game again and note how the ball direction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required