Summary


This chapter has covered the different ways in which audio is used within a game. The Music class provides the means for playing a single song. The Jukebox class takes this a step further by holding a collection of Music entries and cycling between them for a complete soundtrack to the game. We also defined the Listener and SoundEffect classes, which provide everything that is needed within a game for three-dimensional sound effects.




Introduction to 3D Game Engine Design Using DirectX 9 and C#
Introduction to 3D Game Engine Design Using DirectX 9 and C#
ISBN: 1590590813
EAN: 2147483647
Year: 2005
Pages: 98

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