Your game needs music! In this article, I will take you through everything you need to know to stream audio files for your game.
One of the effects I needed for a previous game was creating nebula for outerspace. But as a pixel art game, the nebula needed to look… pixel-artsy?
Error handling in a state-based C API such as OpenGL in C++ can sometimes be a bit of a pain. To help me with my own graphics engine, I created this simple method of wrapping the OpenGL function pointers to report errors as they happen.
When I first set out to do what the title says, I hit so many roadblocks and unforseen problems that it drove me bonkers. But eventually I figured it out. So if you’ve given up trying to work out how to stream ogg files with OpenAL, or if you just need to get it done, …