Week 1 Lessson 1 - Scratch Programming

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 20

Scratch Programming

What is Scratch
Programming?

• Scratch is a visual programming language that


allows students to create their own games and
animations.
There are four elements of Scratch. They are:

The Stage

Elements of The Sprite


Scratch
The Script

Programming Palette
• The stage is similar to a stage in a play. This is
Stage where everything will take place and the stage can
have different backgrounds.
• These are the actors or main characters of
Sprites the project. Sprites are programmed to do
something in Scratch
The script tells the actors what to say or do.
Script Each Sprite is programmed with a script.
Programming • These are the elements used to program the
sprite to do or say something. Sprites must be
Palette programmed to carry out every function you want
them to perform.
Programming a Sprite

CONTROL MOTION LOOKS SOUND


Control blocks
• Programming a sprite always begins with a control block.
• It is the orange/yellow category from the programming
palette
1) When the green flag is clicked – The project will begin
when the green flag in the upper right-hand corner is clicked.
2) When space key is pressed – The project will begin when
the space bar is pressed. The black drop-down arrow
indicates that you can choose a key different from the space
bar; and that key will begin the project.
3) When sprite 1 is clicked – The project will begin when the
sprite is click. Note: Click the sprite on the stage, NOT the
small thumbnail sprite shown underneath the stage.
Motion Blocks

This category teaches students to


Motion blocks fall under the blue understand positives and negatives
category and other mathematical concepts,
like degrees.
Looks Block

Looks blocks fall under the purple category of There are several blocks to control what you
the programming palette. SEE the sprite say or how the sprite looks.
Sound Blocks

• Sound blocks fall under the fuchsia category and allow you to program
the sprite to produce sounds or words you can hear. Click on the
“Sounds” tab beside the word “Costumes,” to import or record a new
sound. Click Sounds Import and then double click on one of the folders
(animal, effects, human, etc.).
There a three Paint a new sprite - allows you to
use the paint editor to create your
ways to very own sprite.
choose a new
sprite: paint, New Sprite – allows you to choose
import or use from sprites that are available in
scratch.
a “mystery”
sprite.
Mystery Sprite – Scratch will
choose a random sprite for you
• To choose a new background click on the
thumbnail that says stage. A blue line will
appear around the box. Next, click on the
“Backgrounds” tab beside the word “Script.”
You can paint or import a background. If your
computer has a webcam, you can also take a
picture for the background
Choosing A • Painting your own background – Click paint

Background and then the paint editor will open.


• Importing a background – Click on import to
choose from backgrounds available in Scratch
and then double click on one of the folders.
Practicing Scratch - Activity
• Link to Scratch Online
https://scratch.mit.edu/

Go to the website and click create button.


Once it has loaded, go to tutorials and choose a tutorial to practice
using scratch. Practice with at least several scratch tutorials.

You might also like