# Black Art of Macintosh Game Programming 1996 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-black-art-of-macintosh-game-programming-1996-922b0b/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-black-art-of-macintosh-game-programming-1996-922b0b/2#scan-a296fdf57d752331d7134dfd25469ed152e82d418185473c0200855b5cf5eba9)

Transcribed text:

+++++   Black   Art   of   Macintosh   Game   Programming   xi
Playing the Music   ............................................ 199
Sound Headers .............................................. 199
Skipping the Sound Header ....................................   203
Fill 'er   Up   ..................................................   204
Starting the Process   ..............................................   207
The Continuous Sound Player .....................................   210
StartContinuousSound   ........................................   212
New FillSoundBuffers ........................................ 216
Changing the Theme and Stopping the Music   ...................... 218
Multiple Asynchronous Sounds ....................................   220
New InitializeAsyncSoundPlayer   ................................   221
New PlayAsyncSound ........................................   222
Asynchronous Sound   Utility   Routines   ............................   224
The Complete Package   ........................................ 225
Testing the Sounds .............................................. 225
Chapter 8:   Invaders! .......   ........................................ 227
Enhancing the Sprites ............................................   229
The   NewSpriteO   Function   ..................................... 231
Drawing the Explosion .......................................   234
The Player vs. the Invaders   ........................................ 234
Invader Sprites .............................................. 236
Moving the Invaders .........................................   238
Ship Sprites ................................................ 245
Moving the Ship   ............................................. 246
Fire Away! .....................................................   250
Invader Missiles ............................................. 251
Moving the Missiles .......................................... 252
Coll~ionDerection   ..........................................   256
The Invaders! main() Function .................................... 258
A Few Remaining Routines   ........................................ 264
Playing the Game ............................................... 266
Chapter 9: Wireframe   Graphics ......................................   269
Polygon-Based   Objects   ........................................... 272
Polygon-Fill Graphics ........................................ 272
Gouraud Shading ............................................ 273
Texture Mapping ............................................ 273
Ray Tracing and Beyond   ....................................... 274
Wireframe Graphics ............................................. 27   4
Drawing Wires .............................................. 275
Bresenham's Algorithm ........................................... 276
The Slope of a Line .......................................... 277
Drawing Directly to a GWorld ..................................   280

Reading notes: Table of contents with OCR-damaged entries such as 'Coll~ionDerection' and 'NewSpriteO' Entry 'Multiple Asynchronous Sounds' and similar headings may have uncertain line breaks

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/18b4dae444e299ceeabd7bcc945cc6955cbe4f0346d167150cd1db6ac1a8ab38/Black_Art_of_Macintosh_Game_Programming_1996.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-black-art-of-macintosh-game-programming-1996-922b0b/1.md)
