Coding With Scratch
Coding With Scratch
scratch.mit.edu
Definitions:
Scratch: a visual programming language developed by MIT Technology Lab to make
programming easier and more fun to learn.
Sprite: a character (such as a cat) that understands and obeys the commands given to them.
Scripts: stacks of blocks you connect together to create commands
Script execution: when your script runs
Scripts Area
Blocks Palette
Stage
Sprite List
The Stage
Stage: where your sprites move, draw and interact
180
X is horizontal
Y is vertical
-240
240
(0, 0)
-180
Backdrops Tab
You can change the background of the stage by opening a new
backdrop.
Sprite List
Each sprite on the list has own scripts, costumes and sounds.
Costumes Tab
You can change the appearance of sprites with costumes.
Sounds Tab
Sprites can play a wide variety of sounds. There are preexisting ones within Scratch or you can
record sounds (if your computer has a microphone) or import existing sound files from your
computer. Scratch can only read MP3 and WAV sound files.
Blocks Tab
There are 10 categories of code blocks in the Block Palette:
Looks: affect sprite and backdrop appearance and can display text
Sensing: can determine location of mouse and sprites, whether touching something, etc.
Scripts Area
This is the area where you can program the sprites to do things and for the background to change
by dragging and dropping blocks and snapping them together.
+
=
o Designed as a mechanism for provding input for other blocks to process
o You need to embed in another block of code