dots, 258–259 paddles, 52–57 maze, 245–251 PCs, 2, 9 nasty enemies, 254–258 PDP-1, 41 Pac-Man™, 236–237 Physic material, 38, 58 player, 251–254 Ping Pong, 40, 43 release and postmortem, 270 PlayClipAtPoint function, 231 scoring and levels, 262–268 players, 2, 4, 14, 80–82, 251–254 tuning, 268–270 PlayerScript, 90 Microsoft Visual Studio, 54 playfield, 31–35, 37–39, 46–52, Missile Command, 3, 106, 238 modeling, 179–186 59–61, 77–80, 108–112, modern games, 273–275 171–179, 196, 199 monkey, 27–28, 31, 34–38 PlayOneShot function, 231 MonkeyMaterial icon, 35–36 Pluck, 29, 61–63 “MonoBehaviour”, 19 PNG. See Portable Network Graphics Monodevelop, 19 Pole Position, 3 MudBackground, 33–34 Pong before, 40–41 N classic arcade video games, 3–4 clones, 44 nasty enemies, 254–258 design elements, 42 NextLevel, 142 forty years later, 45 novelty rule, 273 sequels, 44 NTSC frame, 260 Pong, Atari, 42–44 “null game”, 274 Portable Network Graphics (PNG), 24 numbers, 278–279 postmortem, 68–69, 102–103, 162–163, 233–234, 270 O prefabs, 119–120, 122, 214–215 preferences window, 22 OnGUI function, 20, 21, 65, 142, PressStart, 141 145, 266 programming, 276 with C#, 17–22 OnTriggerEnter function, 65, 87–88, Project panel, 14, 33, 38 90, 98, 131, 140, 144, 146–148, proportional editing, 174–175, 197 216, 223, 224, 226, 230, 233, 261 prototype maze, 251 public class statement, 20 P Q Pac-Man™ classic arcade video games, 3 Quaternion statement, 215 cutscenes, 237 ending rule, 238–239 R first maze game, 236–237 kill screen, 238 rail shooter, 168 maze, 236 Random.Range function, 58 sequels and maze game, 240–243 release, 102–103, 233–234, 270 \"Result is \" string, 21 Pac-Man AI, 239–240 Pac-Man Fever, 238 Index — 291
result variable, 21 shipscript, 137 Rigidbody, 37, 58, 87, 132, 137, shipSpeed variable, 121 shots, 211–217 209, 213, 218, 227, 252 simple rule, 43 Robichek, Mark, 243 skybox, 192–193, 250–251 rocket mesh, 203 SNES home video game systems, 44–45 rockets, 200–204, 223–224 sound, 153–156 Russell, Steve, 41 Space Invaders®, 104–107 S classic arcade video games, 3–4 spaceship, 112–117 SampleScene, 14 scene gizmo, 35, 47, 48, 77, 79, 178, 192 control, 191–196 Scene panel, 13–16 modeling, 179–186 score milking, 106 texturing, 186–191 score rule, 105–106 Spacewar!, 41 scoring, 64–66, 72, 96–98, sphere collider, 37, 38, 58, 259, 269 sprites, 109, 112, 117–125 231–233, 262–268 stamps, 112, 196 Scramble™ starfield, 109–111 starfield_scroller script, 110–111 classic arcade video games, 3–4 Start functions, 20, 54, 58, 82, experts rule, 166–167 screen layout, 165 102, 143, 146, 261 scrolling shooter, 165–166 StartingPlay, 141–142 sequels, 167–168 statements, 281–282 screenBoundary variable, 121 ScrollingShip, 186, 191, 194, 227 for, 93 scrolling shooter, 165–166 CreatePrimitive, 93 audio, 229–231 LoadScene, 100 designing, 169–171 public class, 20 flying rockets, 204–211 using, 20 flying saucers, 217–223 story-telling, 272 game sketch of, 169 strings, 278–279 level 1, 196–199 Subdivision Surface Modifier, 28 level design, 223–228 Super Breakout, 74 playfield, 171–179 postmortem, 233–234 T release, 233–234 rockets, 200–204 Taito, 107 scoring, 231–233 terrain, 224–225, 227 Scramble™, 165–166 Testing123 class, 20 shots, 211–217 test rule, 73–74 spaceship control, 191–196 Text object, 13 spaceship modeling, 179–186 texture file, 33 spaceship texturing, 186–191 texturing, 186–191 scroll wheel, 9, 26, 27, 33, 36, 79, 172 3D objects for Blender, 4, 6, 24–28 semicolons, 281–282 3D modeling methods, 179 sequels, 240–243 3D tech versus. 2D tech, 170 Time.deltaTime variable, 84 292 — Classic Game Design, Second Edition
title screen, 99–102 result, 21 tuning, 268–270 screenBoundary, 121 2D graphics, GIMP tools for, 5 shipSpeed, 121 Time.deltaTime, 84 U version control, 50 vertical shooter Unicode characters, 279 alien death sequence, 149–153 Unity, 2 aliens, 126–133 alien shots, 133–138 built-in functions of, 162 designing, 108 demo application in, 31–39 initial scoring in, 139 game development tools, 4–6 levels, 156–161 GridTest in, 178 lives, 138–149 “Hello World” application playfield, 108–112 postmortem, 162–163 program, 9–16, 30 release, 162–163 installation, 8–9 scoring, 138–149 maze prototype in, 249 screenshot of, 162 prints error messages, 14 sketching, 108 programming with C#, 17–22 sound effect, 153–156 scrolling playfield in, 199 spaceship, 112–117 website, 8 sprites, 117–125 Unity Blank Project, 11 video games Update functions, 20, 54–55, 60, 81, arcade. See arcade video games viewport shading, 180, 182, 201, 217 82, 121, 130, 136, 143–146, Visual Studio Community Edition, 19 148, 158–160, 195, 200, 211, 216, 222, 226, 228, 266–268 W using statements, 20 UV Image editor, 186–189 Wahwah, 30, 153 WallTopScript, 87–88, 90, 96 V WeirdValue, 21 white box testing, 135 variable names, 279–281 whitespace, 281 variables, 279–281 Wozniak, Steve, 71, 75 aliencounter, 157 BallScript.launchtimer, 89 bool, 96 dir, 256 Index — 293
Search
Read the Text Version
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304