Scratch is a visual, block-based programming language, excellent for starting off with programming. It has a great community of users and helps build creativity. Not only that, but it's completely free of charge! I've been using scratch for about 3 years now, and it's helped me branch out to more complicated programming languages.
In this instructable, I plan on showing the basic parts of the 2.0 coding editor.
Step 1: The Scratch Editor: an Overview
The scratch editor is where you make the actual projects. You can't really do scratch without learning the editor.
- The Scripts
- The scripts area is where you move the blocks. You click and drag to move them, and select the different sections to choose different types of blocks.
- The Stage
- The stage is where the project is run, everything you do in the scripts or costumes editor shows up here.
- The Sprites Pane
- This area shows the sprites you currently have, along with the backdrop. There are several buttons in the top right corner that allow you to add more sprites.
- The Costumes Editor
- Here you edit how the sprite looks, or it's costumes. You can draw your own, or use the ones in the scratch library.
- The Sounds Editor
- In this area, you can record, upload, or edit sounds.
Step 2: Different Types of Blocks
The first section of blocks that you will discover when you open up the scratch editor is the motion section. Let's go over some of the blocks.
- Motion controls all of the blocks that move a sprite.
- Looks controls how your sprite looks. It has blocks that can change the costume, size, color, and other things.
- Sound controls all of the noises. You can upload sounds and play them, or make music using several different musical instrument blocks.
- Data controls all of the variables and lists.
- The Pen blocks are used to plot colored pixels or draw shapes in the location of the sprite.
- Events are used to trigger scripts to run. You can also broadcast messages to other sprites to make it easier to share information.
- Control blocks control all of the loops and other blocks that can control scripts (end them, pause them, that sort of thing.)
- Sensing blocks can sense things (hence the name), such as the X and Y positions and if the sprite is touching things.
- Operations has mathematical and boolean operators.
- More blocks
- More blocks has functions and extensions (such as LEGO WeDo).
Step 3: The Art Editor
The art editor is where you can draw your sprites. This can be critical to making projects because eventually, the scratch library becomes limited. I'm only going over the very basics because the costume editor can get complicated.
- The Costume Pane
- This holds the current costumes. With multiple costumes, you can easily change the sprite's appearance. Up top, there are several buttons (like the ones to create a sprite) that you can use to create a new costumes.
- Vector and Bitmap Modes
- There are two different ways of drawing in Scratch 2.0, vector and bitmap. The button to switch between the two is located in the bottom right corner.
- Vector Mode Tools
- Vector is a vector drawing program (hence the name). It uses a set of control point to manipulate shapes. It's the harder of the two drawing programs to master.
- Bitmap Mode Tools
- Bitmap mode is a raster drawing program where things are drawn pixel by pixel. It's pretty easy to learn, and you simply have to draw on the screen to make your costumes.
Step 4: Sharing
Once you've made your project, you can share it! (As long as you've confirmed your email.) Now everybody can see it! But before you share it, tell the viewer what it is! You can name it and add instructions, and if anybody helped you, give credit, all on the side thing! Once you have it ready, share it! It should pop up in your shared projects bar on your profile now, and the number above will soon grow!
Remember, sharing your project allows for anyone to see it, so make sure it follows the community guidelines before you do. If your project doesn't or you want to keep it private, you can keep it unshared. Also, if your project is shared, people can comment and love and favorite to give feedback! It's really nice to get a nice comment or way to improve your project. >u<
Step 5: Wrap Up
Okay, so we've gone over the different types of blocks, the art editor, and sharing. If you have any questions, you can ask here.
Sp, now that you've made your project and shared it (or even if you haven't), go make more! You learn from experience, so even if you don't like it at first, keep trying! And if you want, post a link to your project and I'll see if I can check it out!