Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice. The answers to the quiz can be found in Appendix A, "Quiz Answers."

Quiz

1:

What is the purpose of an MCI command message?

2:

What is the device in your computer that is responsible for playing MIDI music?

3:

When is it important to pause a MIDI song in a game?

Exercises

  1. Find a different MIDI song and use it in place of the Music.mid song that is currently being used in the Henway 2 game.

  2. Add some more wave sound effects to the Henway 2 game that are played randomly along with the car horn sounds. Sounds you might consider adding include a chicken sound (Bok!), the sound of a car passing by, and maybe the sound of tires screeching.



Sams Teach Yourself Game Programming in 24 Hours
Sams Teach Yourself Game Programming in 24 Hours
ISBN: 067232461X
EAN: 2147483647
Year: 2002
Pages: 271

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net