The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.
Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by sanjeev.khattri.dubai, 2019-05-19 03:11:29

scratch - scripting

scratch - scripting

Scratch - scripting

Grade 5

ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts

Adding a new sprite.

•Right click in the existing sprite- the cat and click d
elete.
•Click the -Choose sprite from library- icon.

Choose any sprite from the
collection.

Dimensions of the Stage:

+18
0

-24 +24
00

X coordinate between
-240 and +240

-18 Y coordinate between
0 -180 and +180

Moves the selected sprite to t
he specified coordinates.
X coordinate between
-240 and +240
Y coordinate between
-180 and +180

Note: Change the coordinates by double clicking on the numbers.

Point in direction
:

Turns the sprite 15o clock
wise.

Change the number in the
field to change the angle
of rotation.

Moves the sprite to the specified coordinate in the given time.

Looks

•Used to control the appearance of sp
rites and the stage.

•Some of the functionalities are:
 changing costumes
 applying graphic effects.

 Change the text by editing
the 1st field.

 Change the time by editing
the 2nd field.

 Change the text by editing t
he 1st field.

 Change the time by editing
the 2nd field.

Costumes tab

Sprites can change their
look to any of its costumes
.
 Mainly used to make a
nimations.

 Used to change the costume of the sprite to the
next one.

 A specific costume can be selected using this
block.

Try this code to see the parrot
flying!

It is a control block.
As this block loops pieces of code until a con
dition is true, the block is the best way to run co
de until a desired condition has been reached.

It is a control block.
The block is one of the most commonly used
blocks in Scratch because there are a lot of
cases when an infinite loop is needed.

 If the block's sprite is shown, it will hide the sprite
— if the sprite is already hidden, nothing happens.
This block is one of the simplest and most
commonly used Looks blocks.

If the block's sprite is hidden, it will show the
sprite — if the sprite is already showing, nothing
will change.


Click to View FlipBook Version