CL4 - CH2 - Drawing A Square 2
CL4 - CH2 - Drawing A Square 2
Session 2
1
Recap
2
What is a Program?
3
What is a Program?
4
PictoBlox Interface
5
What is Backdrop?
6
Backdrop
7
Choosing a Backdrop
8
Changing the Backdrop
• Click on Choose the Backdrop and select forest as backdrop.
9
What is Costume?
10
What is Costume?
• A costume is one out of possibly many
“frames” or alternate appearances of
a sprite.
• Sprites can change their look to any of
its costumes.
• Every sprite must have at least one
costume.
• One of the most common uses of
costumes is to make an animation for a
game or other project.
• Available costume for the sprite are
shown on the left side in Costumes tab.
11
Costumes Tab
12
How to create costumes?
There are four main ways of getting a
costume or background for a sprite
or stage.
• From the costume library.
• Drawing one yourself using the
inbuilt Scratch Paint Editor, by clicking on
the costume and clicking the “paint”
button
• Getting an image or multiple images
that exist as files on the computer.
• Taking an image from a webcam,
by clicking the “camera” button.
13
Another cool thing that you can do in PictoBlox
other than creating animations is drawing
shapes. Let explore it in this lesson.
14
What are Shapes?
16
Prepping the Stage for Drawing
• Click on ‘delete’.
17
Pen Extension
18
Pen Extension Blocks
We will be using the following blocks
from the pen extension in the next topic.
19
Making the Square Manually
20
Activity : Let’s make a Square
Using script
21
• Now, let's create the script to draw the
square by stacking all the blocks
together.
ACTIVITY
22
• You can simplify all this by using a repeat
block. Just add it around the 3 blocks and
write 4 in the space.
ACTIVITY
23
Final Output
• Click the Green Flag to run the script.
ACTIVITY
24
25