Page 88 - 2501_KVS_C-3
P. 88
Activity 8.6
Add a sprite “Fish” and change the background of stage as ocean. And float the
fish in the ocean. Repeat the process 4 times.
Ans:
Step 1: Add a sprite “Fish” from “Choose a
sprite” icon from the “Animals” tab and
remove the already added “cat” sprite
from the stage.
Step 2: Choose a background from “Choose a
backdrop icon” e.g. “Underwater 2”
from “Underwater” tab in “Choose
background” window. (Shown in Fig. 8.8)
Step 3: Click on the “Event” block and then drag Fig. 8.8
“when flag clicked” block in the script area.
Step 4: From “Motion” block choose “glide... secs to random position” block in
the script area. And change the value 1 to any
other number (say 5) to float the fish slowly to
a random position.
Step 5: From “Looks” block choose “switch costume
to…” block in the script area. And choose value
to fish-c. (You can choose any other fish also of
your own choice.)
Step 6: From the “Control” block choose the “wait for
1 seconds” block in the script area, before
floating again so that previous floating looks in a
better way and not overlaps with the next one.
Step 7: From “Motion” block choose “glide... secs to
random position” block again in the script area. Fig. 8.9
And change the value 1 to any other number (say 5) to float the fish
slowly to a random position.
Step 8: From the “Control” block choose the “wait for 1 seconds” block again in
the script area, before floating again. Repeat the step 07 and 08 two
more times to complete the process of floating 4 times.
When we click on Flag, Fishes float 4 times in water. (see coding in Fig. 8.9).
Aryan: Wow that’s very nice and interesting also. I am feeling happy to learn
all this.
86 KVS DELHI REGION 2025

