Cover image for Advanced lingo for games
Title:
Advanced lingo for games
Author:
Rosenzweig, Gary.
Personal Author:
Publication Information:
Indianapolis, Ind. : Hayden, [2000]

©2000
Physical Description:
xv, 485 pages : illustrations ; 24 cm + 1 computer optical disc (4 3/4 in.)
General Note:
Includes index.
Language:
English
Title Subject:
ISBN:
9780789723314
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.73.L22 R68 2000 Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

With 'Advanced Lingo for Games', by Gary Rosenzweig, Lingo programmers can learn from an expert who has created hundreds of games with Macromedia Director. The book contains more than 20 complete games and their source code. Read about how each of them was made, then use the source code to create your own games.


Author Notes

Gary Rosenzweig is a multimedia software developer, entrepreneur, and writer. His business, CleverMedia, does consulting, Internet publishing and creates games, applications, and utilities using Director. CleverMedia's web site contains the world's largest collection of Shockwave applets made by one company. Gary has a BS in Computer Science from Drexel University and a MA in Journalism from the University of North Carolina at Chapel Hill. He now resides in Denver, Colorado. He has authored The Comprehensive Guide to Lingo and the Director 6 book for Ventana, and SE Using Director 7.


Table of Contents

Introductionp. 1
I. Writing Games with Lingo
1. Creating Games with Director and Lingop. 11
Games and Macromedia Directorp. 12
Director's Strengthsp. 12
Director's Weaknessesp. 13
Game Lingop. 13
Programming Step by Stepp. 14
One-Frame Moviesp. 15
Object-Oriented Thinkingp. 15
Using Behaviorsp. 16
Listsp. 17
Making Gamesp. 18
Game Screensp. 18
Planning and Preparationp. 22
Where to Startp. 22
Finishing the Gamep. 23
Troubleshooting and Debuggingp. 23
User Testingp. 24
Distributionp. 25
2. An Introduction to Gamesp. 27
From Senet to Space Warp. 28
The Evolution of Board Gamesp. 28
War and Role-Playing Gamesp. 29
From Space War to Pongp. 30
From Pong to Pac-Manp. 30
The Video Game Comes Homep. 32
Games Invade Computersp. 33
Games and Macromedia Directorp. 33
Further Readingp. 34
II. Puzzle Gamesp. 37
3. Matching Gamep. 39
Game Overviewp. 40
Close Enough for a Matchp. 40
Correct Matchesp. 41
Locking Sprites into Placep. 42
Game Overp. 43
Special Effectsp. 43
Making the Gamep. 44
Putting It All Togetherp. 51
Game Variationsp. 51
Making a Longer Gamep. 51
Keeping Scorep. 51
Timing the Playerp. 52
Creative Screen Layoutp. 53
Randomnessp. 53
4. Memory Gamep. 55
Game Overviewp. 56
Shuffling the Deckp. 57
Time for Pausep. 57
The Hidden Picturep. 57
The Cardsp. 58
Game Overp. 58
Special Effectsp. 59
Making the Gamep. 59
Putting It All Togetherp. 65
Game Variationsp. 66
Keeping Scorep. 66
Adding a Timerp. 67
Two-Player Gamep. 69
5. Jigsaw Puzzlep. 71
Game Overviewp. 72
Draggingp. 72
Creating Puzzle Piecesp. 73
Random Placementp. 74
Payoffp. 74
Special Effectsp. 74
Making the Gamep. 75
The Frame Behaviorp. 75
The Sprite Behaviorp. 77
Putting It All Togetherp. 84
Game Variationsp. 84
Looking at the Boxp. 85
Different Puzzle Shapesp. 86
6. Sliding Puzzlep. 87
Game Overviewp. 88
Puzzle Piecesp. 88
The Sliding Motionp. 89
Detecting Game Overp. 89
Special Effectsp. 89
Making the Gamep. 90
Frame Behaviorp. 90
The Sprite Behaviorp. 95
Putting It All Togetherp. 96
Game Variationsp. 97
Rectangular Piecesp. 97
Sliding Number Puzzlesp. 97
7. Falling Blocks Puzzlep. 99
Game Overviewp. 100
Blocks and Piecesp. 100
Timing the Fallp. 101
Keyboard Inputp. 101
Special Effectsp. 101
Making the Gamep. 102
Putting It All Togetherp. 111
Game Variationsp. 111
Changing the Shapesp. 111
Adding Colorp. 112
Keeping Scorep. 112
Speeding It Upp. 112
Adding a Backgroundp. 112
III. Arcade Gamesp. 113
8. Falling Objectsp. 115
Game Overviewp. 116
Many Behaviors or One?p. 117
Timing Dropsp. 117
Defining a Catchp. 117
Game Over Optionsp. 118
Penalty for Bad Catchesp. 118
Increasing Difficultyp. 118
Distinguishing Good Objects from Badp. 118
Special Effectsp. 119
Making the Gamep. 119
Putting It All Togetherp. 128
Game Variationsp. 129
Educational Variantsp. 129
Changing Perspectivep. 130
Adding Animationp. 130
Increasing Difficultyp. 130
Catching a Bombp. 130
9. Shooting Galleryp. 131
Game Overviewp. 132
Types of Animationp. 133
Random Appearancesp. 133
Limited Ammunitionp. 134
Screen Elementsp. 134
Point Valuesp. 134
Special Effectsp. 134
Making the Gamep. 135
Target Behaviorp. 135
Frame Behaviorp. 141
Blast Sprite Behaviorp. 145
Blocking Sprite Behaviorp. 145
Putting It All Togetherp. 146
Game Variationsp. 147
A Richer Environmentp. 147
A Friendlier Environmentp. 148
More Animationp. 148
10. Sprite Invadersp. 149
Game Overviewp. 150
Ship Movementp. 150
Invader Movementp. 151
A Lot of Bulletsp. 151
Levelsp. 152
Livesp. 152
Special Effectsp. 152
Making the Gamep. 152
Ship Behaviorp. 152
Invader Behaviorp. 155
Frame Behaviorp. 158
Bullet Behaviorp. 162
Invader Bullet Behaviorp. 164
Putting It All Togetherp. 165
Game Variationsp. 166
Different Orientationp. 166
Product Placementp. 166
More Game Featuresp. 166
11. Space Rocksp. 167
Game Overviewp. 168
Ship Movementp. 168
Rock Movementp. 168
Breaking Rocksp. 169
Screen Wrapp. 169
Limited Ammunitionp. 169
Levelsp. 170
Special Effectsp. 170
Making the Gamep. 170
Frame Behaviorp. 170
Ship Sprite Behaviorp. 177
Rock Sprite Behaviorp. 180
Bullet Sprite Behaviorp. 182
Putting It All Togetherp. 183
Game Variationsp. 184
Shieldsp. 184
Flying Saucersp. 184
Thruster Graphicsp. 184
More Rock Variationsp. 184
Using Vector Shapesp. 184
12. Paddle Bricksp. 185
Game Overviewp. 186
Moving the Paddlep. 186
The Ballp. 186
Bricksp. 187
Levelsp. 187
Special Effectsp. 187
Making the Gamep. 187
Frame Behaviorp. 188
Ball Behaviorp. 190
Brick Behaviorp. 195
Paddle Behaviorp. 196
Putting It All Togetherp. 196
Game Variationsp. 197
Decreasing Paddle Sizep. 197
Colorful Arrangementsp. 197
Turn It on Its Sidep. 198
Multiple Ballsp. 198
IV. Word Gamesp. 199
13. Trivia Gamep. 201
Game Overviewp. 202
The Question Databasep. 202
Screen Layoutp. 203
Buzzing Inp. 203
Time Running Outp. 203
Penaltiesp. 203
Disappearing Answersp. 204
Special Effectsp. 204
Making the Gamep. 204
Frame Behaviorp. 204
Button Behaviorp. 208
Putting It All Togetherp. 210
Game Variationsp. 211
Number of Answersp. 212
Levels of Playp. 212
Randomizing the Questionsp. 212
The Clock Is Tickingp. 212
14. Cryptogramp. 213
Game Overviewp. 214
Encoding the Phrasep. 214
Displaying the Solutionp. 215
The Text Cursorp. 215
Phrase Storagep. 215
Capital Lettersp. 216
Special Effectsp. 216
Making the Gamep. 216
Putting It All Togetherp. 224
Game Variationsp. 225
Phrase Ideasp. 225
Adding a Timerp. 226
Levels of Difficultyp. 226
Allowing Spacesp. 226
Hintsp. 226
Give Upp. 226
15. Hangmanp. 227
Game Overviewp. 228
The Workspacep. 228
Guessing Lettersp. 228
The Hangmanp. 229
The Message Areap. 229
Next Phrase Buttonp. 229
Phrasesp. 230
Special Effectsp. 230
Making the Gamep. 230
The Frame Behaviorp. 230
The Letters Behaviorp. 237
The New Phrase Button Behaviorp. 237
Putting It All Togetherp. 238
Game Variationsp. 239
Accepting Keyboard Inputp. 239
Phrase Themesp. 239
Hangman Without the Hangmanp. 240
16. Word Searchp. 241
Game Overviewp. 242
The Matrixp. 243
The Word Listp. 243
Selecting a Wordp. 243
Marking Wordsp. 243
Populating the Matrixp. 243
Making the Gamep. 244
Putting It All Togetherp. 255
Game Variationsp. 256
Word Themesp. 256
Matrix Sizep. 257
Word Directionp. 257
Selection Methodsp. 257
17. Crossword Puzzlep. 259
Game Overviewp. 260
The Gridp. 260
The Clue Listp. 261
Building the Puzzlep. 261
Character Entryp. 261
Special Effectsp. 261
Making the Gamep. 262
Frame Behaviorp. 262
Grid Square Behaviorp. 274
Clue List behaviorp. 275
Putting It All Togetherp. 275
Game Variationsp. 276
Crossword Themesp. 276
Stretching the Definition of a Wordp. 276
Storing Multiple Puzzles in One Gamep. 277
Skipping the Puzzle-Building Stepp. 277
V. Card Gamesp. 279
18. Video Pokerp. 281
Game Overviewp. 282
The Deck of Cardsp. 283
Three Screensp. 283
Poker Hand Valuesp. 284
Giving Values to Handsp. 286
The Drawp. 286
Special Effectsp. 287
Making the Gamep. 287
Frame Behaviorp. 287
Hold Button Behaviorp. 294
Other Button Behaviorsp. 296
Putting It All Togetherp. 296
Game Variationsp. 298
Colorful Backgroundp. 298
Better Cardsp. 298
No Card Backsp. 298
Win Soundsp. 299
Progressive Scoringp. 299
19. Blackjackp. 301
Game Overviewp. 302
The Shoep. 302
The Cards As Spritesp. 303
Displaying Handsp. 304
Hand Valuesp. 304
Insurancep. 304
Doublep. 305
Splitsp. 305
Multiple Screensp. 305
Special Effectsp. 306
Making the Gamep. 306
Putting It All Togetherp. 321
Game Variationsp. 324
Dealer Hits on Soft 17p. 324
Limiting Splits and Doublesp. 324
Cards and Backgroundp. 324
Bets and the Walletp. 324
Chipsp. 325
20. Solitairep. 327
Game Overviewp. 328
Deck of Cardsp. 329
Naming Conventionsp. 330
Sprite Arrangementp. 330
Card Movementp. 330
Special Effectsp. 331
Making the Gamep. 331
Frame Behaviorp. 331
Card Drag Behaviorp. 342
Other Behaviorsp. 345
Putting It All Togetherp. 345
Game Variationsp. 346
Las Vegas Rulesp. 347
Animated Cardsp. 347
Other Solitaire Gamesp. 347
VI. Adventure and Strategy Gamesp. 349
21. Adventure Gamep. 351
Game Overviewp. 352
Roomsp. 352
Movementp. 353
Wallsp. 353
Objectsp. 353
Doorsp. 354
Monstersp. 354
Signsp. 355
Containersp. 355
Pointsp. 355
The Puzzlep. 355
Special Effectsp. 356
Making the Gamep. 356
Character Behaviorp. 356
Wall Behaviorp. 362
Object Behaviorp. 363
Door Behaviorp. 364
Monster Behaviorp. 365
Sign Behaviorp. 368
Container Behaviorp. 368
Points Behaviorp. 369
Message Behaviorp. 370
Putting It All Togetherp. 371
The Game Diagramp. 371
Creating the Roomsp. 372
Attaching the Behaviorsp. 374
Game Variationsp. 375
Scenariosp. 375
Multiple Monstersp. 375
Keys That Open Containers That Have Keysp. 375
Secret Doorsp. 376
More Behaviorsp. 376
The Aftermathp. 376
Game Overp. 376
22. Maze Gamep. 377
Game Overviewp. 378
Generating a Random Mazep. 378
Moving Around in the Mazep. 379
Graphicsp. 379
A Goalp. 380
Special Effectsp. 380
Making the Gamep. 380
Maze Movie Scriptp. 380
Maze Frame Behaviorp. 384
Putting It All Togetherp. 386
Game Variationsp. 387
Better Wallsp. 387
Different Size Mazep. 388
Different Maze Shapep. 388
Objects in the Mazep. 388
An Enemy in the Mazep. 388
23. Strategy Gamep. 389
Game Overviewp. 390
Countries and Connectionsp. 390
Start of Playp. 391
Start of a Turnp. 391
Attackingp. 391
Victoryp. 391
Artificial Intelligencep. 392
The Mapp. 392
Special Effectsp. 392
Making the Gamep. 393
The Movie Scriptp. 393
Initialization Behaviorp. 397
Country Behaviorsp. 397
Initial Place Behaviorp. 398
Player Place Behaviorp. 400
Player Attack Behaviorp. 401
Computer Place Behaviorp. 404
Computer Attack Behaviorp. 408
Putting It All Togetherp. 411
Game Variationsp. 413
Better AIp. 413
Different Mapsp. 414
Victory Determinantsp. 414
Fortificationsp. 414
Extra Armiesp. 414
More Playersp. 414
VII. Multiplayer Gamesp. 415
24. High Score Boardsp. 417
Basic Methodp. 418
HTML Formsp. 418
CGI Scriptsp. 419
Implementationsp. 419
HTML High Score Boardp. 419
Built-In High Score Boardp. 420
Score Rotationp. 420
Making the High Score Boardp. 420
Submitting a High Scorep. 421
Recording a High Scorep. 422
Getting the High Score Boardp. 425
Displaying the High Score Boardp. 427
Using the High Score Boardp. 428
Setupp. 428
Other Uses for High Score Boardsp. 429
Contestsp. 429
Surveysp. 429
Replacing HTML Formsp. 429
High Scores from a Projectorp. 429
25. Multiplayer Gamep. 431
Game Overviewp. 432
What You Will Needp. 432
Running the Multiuser Serverp. 433
Making a Game Lobbyp. 433
Game Playp. 434
Making the Gamep. 434
Movie Scriptp. 434
User List Behaviorp. 444
Tic-Tac-Toe Behaviorp. 444
Game Sprite Behaviorp. 447
Putting It All Togetherp. 448
Game Variationsp. 449
Input Validationp. 449
Cancellationp. 449
Multiple Challengesp. 449
Better User Identificationp. 449
VIII. Appendixesp. 451
A. Useful Lingo Indexp. 453
B. Useful Internet Resourcesp. 457
Director and Lingop. 458
Shockwave Game Sitesp. 459
Game Designp. 459
Game Programmingp. 461
Artificial Intelligencep. 462
Classic Video Gamesp. 463
General Game Informationp. 464
Indexp. 467

Google Preview