Page 278 - Learn To Program With Scratch
P. 278

mathematical functions, 22            set rotation style [style], 30, 35
                         Math Wizard application, 236–239      set x to [0], 26
                         MathWizard.sb2, 236                   set y to [0], 26
                         maximum of a list, 224                turn left [15] degrees, 28
                         median of a list, 231                 turn right [15] degrees, 28
                         Median.sb2, 231                       x position, 27
                         menu-driven programs, 132             y position, 27
                         menus, pop-up                      Motion palette, 6, 25
                            backdrop, 58                    Mouse Display Area, 4
                            costume, 9                      multiplication operator (*), 21
                            custom block, 77–78             music
                            slider, 107                        background, 53–54, 58
                            sprite, 6                          beats, 54
                         message broadcasting, 68–70           composing, 55
                            to coordinate multiple sprites,    drums, 54
                                  70–71                        notes, 55
                            to implement procedures, 73–75     tempo, 56
                         message handler, 69                My Stuff page, 250
                         minimum of a list, 224
                         MIT (Massachusetts Institute of    N
                                  Technology) Media Lab, 2
                         MoleculesInMotion.sb2, 182         name
                         Molecules in Motion simulation, 182   project, 4
                         Money_NoCode.sb2, 36                  sprite, 11
                         monitors                              variable, 97
                            changing appearance, 107        naming variables, 98
                            defined, 106                    Nature.sb2, 66
                            displaying, 21                  Navigation bar, 245
                            for lists, 215                  nested elements
                            and scope, 108                     if and if/else blocks, 132
                            slider mode, 107                   join blocks, 119
                            for variables, 106                 loops, 167–169
                         More Blocks palette, 75–77, 82, 86    procedures, 82
                         mosaic effect, 51                     repeat blocks, 34
                         motion                             NestedLoops1.sb2, 167
                            absolute, 26–27                 NestedLoops2.sb2, 168
                            commands, 25                    Nested Loops application, 167–169
                            relative, 27–30, 195            n-Leaved Rose application, 114–115
                         Motion blocks                      N-LeavedRose.sb2, 114
                            change x by [10], 28–29         nonagon, drawing, 34
                            change y by [10], 28–29         Non-IntegerRepeatCount.sb2, 166
                            direction, 28                   not operator, 136
                            glide [1] secs to x:[0] y:[0], 26  NumberSearch.sb2, 162
                            go to [mouse pointer], 30
                            go to [sprite], 148             O
                            go to x:[0] y:[0], 26           octagon, drawing, 34
                            if on edge, bounce, 8, 12, 18   odd integer, checking if, 21, 131
                            move [10] steps, 28             Ohm’s law, 108–110
                            point in direction [90], 28     OhmsLaw.sb2, 108
                            point towards [mouse-pointer],   Operator blocks
                                  7, 30                        + (addition), 21
                            point towards [sprite], 30, 60
                                                               / (division), 21
           256   Index

                                           www.it-ebooks.info
   273   274   275   276   277   278   279   280   281   282   283