Note: This Science Buddies user guide was written for Scratch version 1.4. A new version, Scratch 2, is now available. You can use an online version in your web browser at scratch.mit.edu, or you can download an offline version. To get started using Scratch 2, visit the official Scratch help page.
While you can use Scratch 2 for your Science Buddies project, if you would still like to use Scratch 1.4, you can download it here and follow the Science Buddies tutorial.
Scratch is a free, easy-to-use programming language from MIT that you can use to make all sorts of animated stories, art, music, and even interactive games. Installing Scratch is simple. All you need to do is go to the Scratch download page, scratch.mit.edu/download, and follow the simple instructions there to download and install Scratch for free. Be sure you have permission to install the program on the computer you are using.
Getting Started with Scratch
- The Scratch Support page contains many useful "how-to" guides and references. Before you begin a Scratch programming project, spend a couple of minutes reading the How to Get Started page and watching the How to Use Scratch Intro video.
- If, after reviewing the resources available, you feel ready to start programming, then open up your copy of Scratch and get started. If you want a little more information, then keep reading.
- Scratch has a very simple programming environment, made up of five main areas. Figure 1 shows where each of those areas is located, and Table 1 provides more details about each area.
Figure 1. Labeled in orange are the five areas of the Scratch programming environment. Also notice the green flag and red octagon icons,.
|Scripting Area||Within the scripting area, there are three tabs:
|Block Categories||There are eight block categories. Notice that the blocks have different shapes. This gives you a clue about which blocks can be snapped together and which blocks can't be snapped together. If the shapes fit together, then they will work together.
|List of Blocks||Once you click on one of the categories listed, the different blocks that are included in this category are listed.|
|Stage||This is the area where the sprites execute or run the script that you built in the scripting area. Clicking on the green flag allows you to start executing the script (if you set up your script to do so) and the red button will make the script stop.|
|Sprite List||There are three buttons here that you can use to create a variety of sprites and backgrounds.
- Scratch programs, also called projects, are created by dragging, dropping, and snapping together different blocks. All blocks that are joined together are called a script. Simple programs may have just one or two scripts, whereas more complex programs have many scripts.
- You now have enough information to get started writing scripts and experimenting with Scratch. Open up the Scratch programming environment and start playing around.
- For example, click on one of the menus in the upper left of your screen, like the Motion menu. In the screen below it, you will see all the commands that are available under that menu. Try clicking on one of the commands, like "Move" or "Turn" to see what happens to the cat sprite. Then change numbers inside the commands (for example, change "Move 10 steps" to "Move 30 steps") and click again on the command to see what happens to the sprite.
- If you'd like a more complete description of what each block does, read MIT's Scratch Reference Guide. This guide is very detailed and helpful once you have had a chance to play with Scratch a bit.
- If you have a specific question about how to do something in Scratch (like change colors, make a sprite jump, or keep score in a video game), MIT's Scratch Cards might hold the answer. The scratch cards are full of easy programming examples of fun things to do in Scratch.
Step-by-Step Instruction Resources for Learning to Program with Scratch
One of the nice things about using Scratch is that there are a lot of people and places to turn to for help. If you get stuck programming, or are confused about how to start a specific project, consult the Science Buddies Help, I'm Stuck! Troubleshooting a Program in Scratch page.
If you're interested in step-by-step instructions and tutorials for learning to program using Scratch, Table 2 has several options.
|Type of Resource||Citation|
|Book for beginners about programming with Scratch.||Ford Jr., Jerry Lee. Scratch Programming for Teens. Boston: Course Technology, 2009.|
|Book for beginners about programming with Scratch.||Badger, Michael. Scratch 1.4 Beginners Guide. Packt Publishing, 2009.|
|Website with free Scratch programming tutorials.||LearnScratch.org. 2009. Learn Scratch. Retrieved March 22, 2010, from Learn Scratch Website|