Page 283 - Scratch Programming Playground
P. 283
Index
Symbols splitting hit asteroids, defining, 158
196−198 deleting, 9−10
+ (addition) block, 169, starburst bomb, 206 dragging to Scripts Area,
236−237
8, 22
/ (division) block, 134, 169 timer, 199−200 reporter, 9
wrapping spaceship
= (equal to) block, 86, 220 around Stage, stack, 8
> (greater than) block, 188−189 Blocks Area, 5−6, 8
73−74, 205 asteroidbreaker-skeleton
< (less than) block, 73−74, .sb2, 185 Blocks tab, 12
Booleans, 225−226
84, 105, 112, asteroid.png, 194 Brick Breaker program
205, 223
* (multiplication) block, 134, Asteroids (game), 183 complete program,
108−109
Atari, 183
169, 229
- (subtraction) block, 100 B bouncing ball off bricks,
104−105
A Backdrop Library, 19 bouncing ball off paddle,
backdrops 99−100
account, Scratch website, choosing from library, bouncing ball off walls,
3–4, 11 98−99
18−19
addition (+) block, 169, drawing, 148–150 cloning brick, 102−104
236−237 complete code, 108−109
AI (artificial intelli- Backdrops tab, 110 designing, 94−95
background music, 111
gence), 246 GAME OVER message,
all around rotation style, 97 Basketball program, 67 105−106
complete program, 87−88
and block, 84, 192 designing, 68−69 moving paddle, 95−98
animating sprites, 16, freezing hoop, 91 polishing, 109−121
112–115, 119–121, jumping and falling, You win! message,
231–232 107−108
69−75
arrow keys, 40–42, 53, 74, making basketball hoop, brickbreaker-skeleton.sb2, 95
76, 129 brightness effect, 121
77−80
artificial intelligence moving left and right, broadcast block, 48
(AI), 246 broadcasting messages, 48,
75−76
Asteroid Breaker program shooting hoops, 81−86 49, 99−100, 150−151
aiming and firing, two-player mode, 88−91 Brush tool, Paint Editor, 7,
190−193 20−21
designing, 184−185 basketball-skeleton.sb2, 69
Bézier curves, 31–32
exploding animation, Bitmap Mode, Paint C
200−203
Editor, 166
keeping score, 199−200 blocks, 5−6. See also names calling blocks, 158
Canvas, Paint Editor, 7
limiting ammo, 204−205 of individual blocks ceiling detection, 224
making asteroids, and block types change effect by block, 115
194−195
making spaceship, adding, 8−9 change pen color by block,
calling, 158
26–27
186−187

