Page 80 - 2501_KVS_C-5
P. 80

2.   “Control” block.

                        3.   This block is a “cap” block (a block that ends the script). It is used to delete a clone or
                             copy of a sprite that has already been created.
                        4.   This block is a “stack” block, which is used to create a clone of the selected sprite from
                             the list provided in the block. It creates an identical copy of the chosen sprite: however,
                             its scripts are not copied.


                        5.   “stack” block.

                                                              Exercise


                  A.  Answer the following questions:

                        1.   a.    “go to random position”          b.     “broadcast… and wait”
                             c.    “point in direction 180˚”        d.     “change y by 5”

                             e.    “go to x: -100 y: 50”            f.     “when I receive…?”

                        2.   “Control” block.

                        3.   This block is used to change only the x value of the sprite with a specific value. It moves
                             the sprite horizontally to particular position.
                        4.   This is a “stack” block and has a dropdown menu having two options: -

                             a.      “point towards mouse pointer” block:-> This block points the direction of the sprite
                                   towards mouse pointer.

                             b.      “point towards sprite-name” block:-> This block points the direction of the sprite
                                   towards another sprite that we will choose.

                        5.   This is a “stack” block and it is used to show the sprite, when required.
                        6.   This block is a “stack” block, and it is used to broadcast or send a specific message. It
                             has a dropdown list from which you can choose an existing message, create a new one,
                             and set its name as per your choice.

                  B.  Fill in the blanks.

                        1.   “point towards…”

                        2.   “Motion”

                        3.   ”hide”
                        4.   to perform a specific task when the sprite receives a message sent by itself or another
                             sprite.

                        5.   ”hat”

                        6.   “flip horizontal”




                78                         KVS DELHI REGION 2025
   75   76   77   78   79   80   81   82