Saturday, November 7, 2009

Sound

Another new feature has been added to the game, sounds! We're using OpenAL in combination with the OpenAL utility toolkit ALUT. This allows us to play .wav's. Wav's just take a rather small amount of memory because it are often just small sounds, however we also like to play background theme songs. These songs often have sizes of 3-5 megabytes. We prefer not load this amount memory at once and therefor we're streaming the theme songs. We're not using .mp3's for this as mp3 requires a license, so we've chosen for ogg. Ogg is as good as mp3, some even say it's better. But the great thing is that it's free for use in development.

No comments:

Post a Comment