4 ms·
The example code uses Allegro (http://liballeg.org/ http://liballeg.org/) which was one of my _favorite_ libraries when I was learning to make games as a teenag
by msarnoff 9y ago
The example code uses Allegro (http://liballeg.org/ http://liballeg.org/) which was one of my _favorite_ libraries when I was learning to make games as a teenager in the early 2000s.
I had come from a QBasic background and was trying to learn C++. QBasic was wonderful because it put everything a budding game developer could want at their fingertips—full screen graphics and text modes, drawing primitives, sprites, rudimentary sound and music using the PC speaker, etc.
In 1999 I got my first taste of C++ with MSVC++ 6.0, but soon lost interest. I had to limit myself to text-based command-line programs, or attempt to learn the Windows APIs, which seemed way over my head at that point. What I really wanted was C++ but with QBasic-like APIs.
Probably around 2002-2003 I discovered Dev-C++ and the Allegro library. It was exactly what I had been looking for and more! It reinvigorated my interest in programming and helped me learn tricky concepts like pointers and memory management. I probably wouldn't be an engineer today if it weren't for Allegro.