Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 129 - 2505_CoreGPT(Podar)_Flipbook_C5
P. 129

    9               BASIC PROGRAMMING IN SCRATCH

                         Goal Glimpse

                             Working of Multiple Sprites                     Positioning a Sprite
                             Using Operators                                 Variables

                             Applying Conditions to a Program                Sensing Blocks
                             Using the Keyboard Keys                         Questioning and Answering in Scratch

                     In previous classes, you learned to use code blocks to make sprites perform various

                     actions and create shapes and designs. In this chapter, you will learn how to create
                     a project with multiple sprites, position them, use condition blocks and  more.
                     Before starting with these, let's explore some key block categories in Scratch and

                     their specific tasks.

                        Motion: Provides instructions to control the movements and turns of a sprite.
                        Looks: Offers instructions to change the appearance of a sprite.

                        Sound: Allows you to control the sound or speech of a sprite.

                        Pen: Gives instructions to manage the drawing pen of a sprite.

                        Control: Provides instructions to manage the execution flow of a sprite.

                         Sensing: Enables instructions to detect input through the keyboard during the
                        execution of a script.

                        Operators: Adds various arithmetic and relational operators to the script.

                         Variables: Allows you to create and manage variables to store and manipulate
                        data in your project.

                           WORKING OF MULTIPLE SPRITES

                     You can create projects that feature multiple sprites. Each sprite can be coded

                     separately, allowing you to bring your project to life with fun interactions. Let’s
                     create an exciting project with two sprites that combines movement.

                                                                                     Basic Programming in Scratch       127

| 124 125 126 127 128 129 130 131 132 133 134 |