Page 285 - Scratch Programming Playground
P. 285

flashing colors, sprites,    H                            Lifelong Kindergarten
                 112, 115                                                  Group (MIT
          floor block, 236−237         hide block, 80, 102                 Media Lab), 2
                                       hiding sprites. See ghost
          For all sprites option, for         effect; hide block    Line tool, Paint Editor, 7, 56
                 variable, 70, 71                                   Line width slider, Paint
          For this sprite only option,   high score, 150−151,              Editor, 7, 77
                                              179−180
                 for variable, 70, 71                               lists, creating, 152−154,
          forever block, 10, 41        hitboxes, 79−80, 228−231,           155−156
                                              240, 246
          fractals, 31–32                                           Looks blocks
          frames, animation, 201,      I                              costume #, 171
                 233−237                                              change effect by, 115
          Fruit Slicer program, 145    if block, 136                  change size by, 115
            begin button, 160−162      if key pressed? code, 130      go to front, 46
            designing, 147             if on edge, bounce block, 22   hide, 80, 102
            health sprites, 173−176    if then block, 40–41           next costume, 76
            high score, 179−180        if then else block, 116–117    say, 24, 72
            making game’s ending,      importing. See uploading       set ghost effect to,
                 176−178               inertia, 184                        80, 245
            recovering health,         Info Area, 21–22               set size to, 45–46
                 180−181               input, 218                     show, 102
            slice trail, 151−160       invincibility mode, 140−141    switch backdrop to, 151
            start screen backdrop,     iteration, 169, 223            switch costume to, 44
                 148−151               iterative development, 17    loops
            throwing fruit and bombs,   J                             forever, 10, 41
                 162−173                                              if, 136
          fruitslicer-skeleton.sb2, 147  Jonasson, Martin, 110        repeat until, 82−83, 85
                                       juice, 110
          G                            jumping, sprites, 74−75,     M
          ghost effect                        222−223               Make a Block button, 157
            animating sprites, 113,    Jump.svg, 232                Make a List button, 152
                 114−115, 119−120,     K                            Make a Variable button, 70
                 176−178, 244−245                                   Maze Runner program
            hiding hitboxes, 80,       key, determining when          adding traps, 56−62
                 241−242,                     pressed, 40             complete program, 49−50
          go to block, 26              key pressed? block, 40         designing, 36−37
          go to front block, 46        keys                           keeping cat from walking
          go to x y block, 44            arrow, 40–42, 53, 74,             through walls,
          gradient settings, Fill tool,       76, 129                      44−46
                 110−111, 148−149        WASD, 53, 184, 215           maze goal, 46−49
          gravity, 69–75                                              maze levels, 43−44,
          greater than (>) block,      L                              moving Cat sprite, 38−42
                 73–74, 205            left-right rotation style, 97  two-player mode, 51−54
          green flag, 5, 6, 10         less than (<) block, 73−74,    walking through walls,
          griffpatch, 232                     84, 105, 112,                62−63
          Grow tool, Scratch                  205, 223              maze-part-a.sb2, 42
                 editor, 128                                        maze-part-b.sb2, 44



                                                                                     INDEX  259
   280   281   282   283   284   285   286   287   288   289   290