Page 90 - TP_Pluse_V2.2_Class4
P. 90
PROGRAMS IN SCRATCH
Factopedia Arrange the blocks to create the following scripts for the cat
Sprite, and then run the script.
The method of
programming with
building code with
blocks is referred to
as "drag-and-drop
programming."
‘If on edge, bounce’
block checks to see
if the Sprite is on the
edge of the Stage; Let’s Back-uP
if it is on the edge, The blocks that are used to control the movement of a
then it flips the Sprite Sprite are known as Motion blocks.
around so that it is
facing the other way. Looks blocks control how a Sprite appears on stage.
Sound blocks control sound functions. We can add music
to our Scratch project by using Sound blocks.
Events blocks actually control how the blocks in a script,
will start to run, if a particular action is done.
Events blocks control events and the starting of scripts.
Control blocks control the way the script runs in a project.
They have looping blocks which are used when the same
Scratch comes with
a built-in paint and blocks have to be repeated for a number of times.
sound editor. The position of a sprite is given by the x and y values on
the stage.
88 Plus (Ver. 2.2)-IV

