Page 117 - KEC Khaitan C3 Flipbook
P. 117

Add 2 to 3 sprites to make the scene lively. Adjust their sizes using the "Size"
                        property.

                 3. Animate the Scene with Code:

                        Use the "Events" block to start the animation:

                        o   Drag the "when green flag clicked" block to
                            the coding area.

                        o   Use the "when this sprite clicked" block to

                            add interactive elements

                        Add  motion  blocks  to  animate  the sprites.
                        Example:
 HANDS-ON PROJECT
                        o  "move 10 steps" to make the bear walk.

 PROJECT: Animal Walk Game        Experiment by adding "sound" blocks for bear

 Objective:             sound effects.
 By the end of this project, you will:   Sample Code Example:

   Create an Animal Walk scene by adding and customizing a backdrop.    Bear: Glide from left to right when the green flag is clicked.

   Animate sprites using motion, events, control and sensing blocks.  Challenge Section:

   Integrate sound effects and dialogue for interactivity.    Make Your Bear Talk: Use the "say" block to add speech bubbles.

 Step-by-Step Instructions:    Add Sound Effects: Play Bear Sound

 1.  Add a Thematic Backdrop:  Quick Tips:

       Click on the "Backdrops" tab in the     Save Regularly: Click "File" > "Save Now" often to ensure your work is saved.

 bottom-right corner of the screen.
                     Rename the Project: Use the format: ProjectName_YourName_Class&Section
       Use the search bar to find and select   (e.g., Animal Walk_Aarav_3B).
 a Forest-themed  backdrop  (e.g.,      Explore Costumes: Customise your sprites by clicking the "Costumes" tab and

 Forest 1 or Forest 2).
                     editing their colors or shapes.
       For extra creativity, click "Paint" to
 customize the backdrop.

 2.  Add Sprites to Populate the Scene:

      Delete the default Scratch Cat by right-clicking and selecting "delete".

      Click on the cat-face icon at the bottom-right to open the sprite library.

      Search for forest-themed sprites like bear walking.






                                                                                  Events, Sound, and Basic Animation  115
   112   113   114   115   116   117   118   119   120   121   122