Page 96 - KEC Khaitan C4 Flipbook
P. 96
o Click the cat-face icon to search for diyas, candles, firecrackers, and decorations.
o Alternatively, upload images or create sprites using the Paint Editor.
Adjust sprite sizes using the Size property to fit the scene.
Place the sprites strategically on the backdrop (e.g., diyas near the rangoli).
3. Animate the Scene with Code
Start the Animation:
o Use the when green flag clicked block to start your program.
Add Interactivity:
o Use when this sprite clicked blocks to trigger actions like glowing diyas or
playing sounds.
Special Effects:
o Use loops (forever, repeat) to create blinking or glowing effects.
o Add sound blocks (play sound [name] until done) for firecrackers or festive
music.
Sample Code:
(Sprite 1) (Sprite 16) Images Rangoli
Happy Diwali Kindness
Quick Tips
Rename your project: DiwaliLights_YourName_Class_Section.
Save your project frequently to avoid losing progress.
Sign out of your Scratch account before leaving the lab.
94 Premium Edition-IV

