Page 136 - KEC Khaitan C3 Flipbook
P. 136

4.  Introduce the Owl Helper:


                      •  Click "Choose a Sprite" and select the "Owl" sprite.
                      •  Drag these blocks to create movement:

                              "When green flag clicked" (from Events).
                          o
                          o  "Go to x: -200 y: 100" (from Motion) to position the Owl.

                          o   "Forever" (from Control) with "Change y by 5" and "Change y by -5"
                              (from Motion) to make the Owl flap.

                      •  Add a dialogue when the Star meets the Owl:

                              "If touching Star" (from Sensing), then:
                          o
                              ♦  "Say 'Don’t be afraid! I’ll help you get back home.' for 3 seconds"

                                (from Looks).
                              ♦ "Play magical chime sound" (from Sound).

                  5.  The Journey to the Sky:

                      •  Use these blocks to animate the Star’s return:

                              "When touching Owl" (from Sensing).
                          o
                          o  "Glide 4 seconds to x: 0 y: 180" (from Motion) to move upwards.
                          o  "Switch backdrop to Night Sky" (from Looks).

                          o  "Change brightness effect by 20" (from Looks) to make the Star twinkle.

                          o  "Play happy twinkle sound" (from Sound).

                          o  "Say 'The star is home! Thank you, Owl!' for 3 seconds" (from Looks).

                  6.  End the Game with a Timer:

                      •  Add a timer to stop the game after 30 seconds:

                              "When green flag clicked"
                          o
                              "Wait 30 seconds"
                          o
                              "Stop all" (from Control).
                          o
                  Quick Tips:

                  •  Rename the project as Projectname_yourname_class & section.

                  •  Save your project regularly by clicking "File" > "Save Now."
                  •   Test interactions between the Star, Spooky Character and Owl to ensure smooth

                      animations.

                  •   Experiment  with  different  animations  like  bouncing  movements  or glowing
                      effects for the star.


                  134   Premium Edition-III
   131   132   133   134   135   136   137   138   139   140   141