Page 113 - 2501_KVS_C-3
P. 113
Gowri: Let’s discuss its solution now.
Step 1: Open the Scratch, the sprite “cat” is already added in it. Remove it and
hover the pointer on “choose a sprite” icon and choose “paint” option
from pull-up list. Draw one sprite using colors and circle in the shape like
this:
Step 2: Duplicate this sprite, by right click on the sprite and then choose the
option “Duplicate” from list. Repeat the process 3 more times. Now, you
will have 5 sprites looking alike in your project. Name these sprites as
sprite1, sprite2, sprite3, sprite4, sprite5. Set the direction of sprite1 as
45 and the direction of sprite2 as 0, all other sprites direction as 90. Set
x and y of sprite1 as -155 and 55. Set x and y of sprite2 as -140 and 70.
Set x and y of sprite3 as 125 and 90. Set x and y of sprite4 as 205, -180.
Set x and y of sprite5 as 70, -105.
Fig. 10.3: Coding on “sprite1” Fig. 10.4: Coding on “sprite2”
Step 3: Choose the sprite “sprite1” and do following coding on it. (Fig. 10.3)
Step 4: Choose the sprite “sprite2” and do following coding on it. (Fig. 10.4)
Step 5: Choose the sprite “sprite3” and do following coding on it. (Fig. 10.5)
Step 6: Choose the sprite “sprite4” and do following coding on it. (Fig. 10.6)
Step 7: Choose the sprite “sprite5” and do following coding on it. (Fig. 10.7)
Project (Scratch) 111

