Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Scratch 1.4: Beginner's Guide

You're reading from   Scratch 1.4: Beginner's Guide Learn to program while creating interactive stories, games, and multimedia projects using Scratch

Arrow left icon
Product type Paperback
Published in Jul 2009
Publisher Packt
ISBN-13 9781847196767
Length 264 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Scratch 1.4 Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
1. Welcome to Scratch! FREE CHAPTER 2. Installation 3. Start Scratching 4. Graphics and Slideshows 5. Storytelling 6. Arcade Games 7. Games of Fortune 8. Math and Finance 9. Share! 10. Real-world stimuli Scratch Resources
Index

Troll pong


Let's flash back to 1972 and create a clone of the popular Atari video game Pong. Instead of starting this program from scratch, we're going to start with a sample project that we can use as a basis for our creativity.

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 value changes as the ball...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image