Page 67 - 2501_KVS_C-5
P. 67

Fig. 6.8

                     Aryan: Wow! it’s very interesting game now, but I have seen new blocks named “pick random”
                     block and “if on edge, bounce” block. What are these blocks dear? Please explain them.

                     Gowri: Yes dear, sure first we will discuss “if on edge, bounce” block.


                 6.3  “IF ON EDGE, BOUNCE” BLOCK— “MOTION” BLOCK
                 This block is a “stack” block which means the sprite will bounce or jump when it

                 touches the edge or boundary of the output stage and sprit can also change its
                 direction while jumping.


                 6.4  VARIOUS OPERATIONS—“OPERATORS“ BLOCK

                 6.4.1 Arithmetic operators— “Operators” block
                 There are 4 types of arithmetic operators present in “Operators” block. All these
                 blocks are “reporter” blocks, means gives or returns some output.

                 6.4.1.1 “+” Block

                 This block is used to add two values, given on the left side and right side of “+”
                 operator.

                 6.4.1.2 “-” block

                 This block is used to subtract two values, given on the left side and right side of “-”
                 operator.







                                                                                      Scratch                       65
   62   63   64   65   66   67   68   69   70   71   72