ilovepdf_merged
ilovepdf_merged
ilovepdf_merged
SCRATCH PROGRAMMING
INTRODUCTION
Main Screen
Main Menu Rotate Sprite Sprite Start Stop
Options Toolbar Button Button
Instruction
Banks
Sprite
Scripts Area
for
Instructions
Sprite
Toolbar
Sets the
Background
Shrink
Move
Sprite
ViewFirst
My full screen
Program
presentation
1
My First Program
Drag the shape onto the scripts area and change the
value to 11.
Drag the shape onto the scripts area and change the
value to 0.2.
2
Drag the shape onto the scripts area and change the
value to 0.2.
Click on Import
3
Click on the all-sports mural and then click on ok
Click on Import
4
Click on HipHop and then click OK
Click on Sprite 1
5
Your program should now look like this:
Now pick your own sprite and background and see if you can get it to move.
6
Saving Your Programs
Click on Save As from the Main Menu at the top of the screen
Double click your Computing folder and create a New Folder called
My Scratch Programs
7
Program 2 – Drawing Shapes Programs
Click on import
Select starfish1-a
Place the shrink cursor over the star fish and click 10 times.
8
d) Copy down the following table and complete the blank boxes. The
make up programs for the Octagon and the Decagon.
The instructions for the last set of programs were quite long because the
same instructions were used over and over again. We have seen in the
Dancing Cat program that instructions can be repeated inside a LOOP.
Create programs using a Repeat Loop which could be used to draw each of
the shapes in the table above.
9
Program 3 – Bouncing Ball Game
Select Beachball1
and click OK.
You have to delete the Cat sprite by clicking on the scissors and then on
the Cat.
10
The instructions for the program are shown below.
These instructions are carried out on the bouncy ball sprite you have chosen.
The yellow Repeat until loop will carry out all the instructions inside it
until the mouse pointer touches the bouncy ball Sprite.
The instructions if on edge bounce will stop the ball from staying on the
edge of the screen.
11
Program 4 – Editing a Sprite
Click on Costumes
Choose Copy
12
The paint screen should appear. Some of the tools are described below.
Shrink or Enlarge Sprite Rotate or Flip Sprite
Change size of
Eraser/ brush/
Line thickness/ etc
Zoom in or out
Change the mouth slightly as if the sprite was trying to say something
and click on OK.
Repeat the Copy and Edit instructions a few more times until the
sprite seems to ‘talk’ to you when you run the program.
13
Program 5 – Moving to a new Stage
Some games that you play at home have different levels, each with a
different background or level of difficulty. In the exercise you will play a
simple Maze game which has 2 levels and then you can add another level
by yourself.
Instructions
Click on Stage
Click on Backgrounds
14
Script
You should add in 3 more sets of instructions like this one which
operate the:
o Up Arrow Key REMEMBER
o Left Arrow Key
o Down Arrow Key X Axis is horizontal (across the way)
Y Axis is vertical (up and down the way)
Each If statement controls a level.
o The colour to finish each level should be different
o so should the message in the speech bubble
o and the word broadcast.
To see the code for the broadcast message, click on Stage and then
Scripts.
When the program starts Maze 1 will be
displayed.
You can now add the code to make it play the next level.
Make sure that your new section of code is inside the forever
loop!
Now click on Stage and then Scripts. Add code to show maze 3
Scratch Challenge
16
2/7/23, 8:02 PM Intro to Scratch
NAME :
CLASS :
Intro to Scratch
15 Questions DATE :
1. What is Scratch?
C Community D Project
https://quizizz.com/print/quiz/5714c8df5df6890a309f6bcc 1/4
2/7/23, 8:02 PM Intro to Scratch
https://quizizz.com/print/quiz/5714c8df5df6890a309f6bcc 2/4
2/7/23, 8:02 PM Intro to Scratch
A Template B Character
C Sprite D Avatar
A Variables B Control
C Sensing D Motion
A Looks B Sound
C Control D Motion
A Motion B Variables
C Looks D Sensing
https://quizizz.com/print/quiz/5714c8df5df6890a309f6bcc 3/4
2/7/23, 8:02 PM Intro to Scratch
A Lines B Instructions
C Script D Actions
14. What do are the blocks that stores values called e.g. "eaten" in
Shark Attack?
A Looks B Operators
C Constants D Variables
A Style B Stage
C Look D Costume
https://quizizz.com/print/quiz/5714c8df5df6890a309f6bcc 4/4