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.

This video ties all of Part 10 together with the inclusion of the ALLEGRO_SAMPLE_INSTANCE variable. This variable allows us to do a lot more with our audio, and it allows us to have a more rich and featured game experience.

Full source can be found here.