Page 135 - KEC Khaitan C3 Flipbook
P. 135
Learn to use motion, sound, and variables to make the game dynamic.
Develop logical thinking and problem-
solving by tracking scores and adding
a timer.
Step-by-Step Instructions:
1. Set Up the Backdrop:
• Click on the "Backdrops" tab in the
bottom-right corner of the screen.
• Use the search bar to find and select
"Dark Forest" as the backdrop.
• For added creativity, click "Paint" to add glowing fireflies or misty fog.
2. Add Sprites and Movement:
• Click on the "Choose a Sprite" button and search for the "Star" sprite.
• Drag the following blocks to the coding area to make the Star fall:
"When green flag clicked" (from Events).
o
o "Go to x: 0 y: 180" (from Motion) to place the Star at the top.
o "Glide 3 seconds to x: 0 y: -100" (from Motion) to make it fall.
o "Play sound whoosh" (from Sound) for effect.
3. Add the Spooky Encounter:
• Click "Choose a Sprite" and select the Spooky Character (Bat/Shadow/
Monster).
• Drag these blocks to animate the encounter:
"When green flag clicked" (from Events).
o
"Go to x: 200 y: 0" (from Motion) to set its starting position.
o
o "Glide 2 seconds to x: -200 y: 0" (from Motion) to make it move across
the screen.
HANDS-ON PROJECT o "If touching Star" (from Sensing), then:
o "Change size by -10" (from Looks) to make the Star shiver.
PROJECT: The Lost Star’s Adventure o "Play scary sound" (from Sound).
Objective: o "Say 'Ahh! I'm scared!' for 2 seconds" (from Looks).
By the end of this project, you will: o "Glide 2 seconds to x: 0 y: -50" (from Motion) to move the Star away.
Create a fun and interactive animated story using Scratch.
Interactive Story 133

