Chapter 7Audio

You enter a dungeon and you realize you forgot to buy torches at the shop. You can’t see anything, but there are plenty of sounds that tell you something about the area — the sound of dripping water, the low growl of some animal, the clicking of claws on stone, and the chittering of many insects. There’s a lot of life and activity in the dungeon even though you can’t see it. Since your vision is useless you have to rely on your sense of hearing to give you clues as to what to expect. Cautiously you inch forward, waiting for the inevitable encounter and wondering how you’re going to fight in the dark.

All worlds are full of sound, and an RPG world is no different (at least it shouldn’t be if the developer did his job correctly). ...

Get RPG Programming with XNA Game Studio 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.