This post is a portion of Part 10 in my on going series about 2D Game Development using the Allegro 5 library. These posts are in course order. You can see all of the posts in this course by clicking the “2D Game Development” button at the top of this site.
Hello everyone and welcome to Part 10! Before I get emails, I did intentionally spell here wrong in the post title (I’m punny like that). Anyway, as you probably guessed, Part 10 focuses on adding audio to our projects. It will probably come as no surprise to you that audio plays a large roll in the game play experience. Good audio makes scary games scarier, frantic game more frantic, and funny games funnier. It is surprising how often audio goes unnoticed in games, but it adds such a huge effect. Try playing a game on mute and you will see what I mean.
31 Flavors
With Allegro 5, we are spoiled with our audio options. By initializing the audio codec addon, we gain access to: .wav, .flac, .ogg, .it, .mod, .s3m, and .xm. Not bad! Along with our audio formats, we have to choice to play samples or to stream audio from file during runtime. This gives us quite a bit of control over the audio realm in our games. Now let’s get to work putting the “A” in “Captian of the AV Club” (which I was).
I laughed at the title, but did you mean to spell role as roll, and Captain as Captian? Haha, loving the series though, helping me out a great deal.
umm….. yes….. No. I need to fix that.
haha
jk still not fixed, even after 2 years xD