Overview of the Allegro game programming library. Compiling a legacy Allegro game with DJGPP through DOSBox. Installing and building a game with Allegro 5 in Visual Studio. How to use event and polling based methods for handling keyboard and gamepad input. Explanation of how to create a “Hello World”, Number Guessing game, and simple space shooter. Comparison of C++ to C, Java, and C#. Explanation of how to load music, sound effects, font, and bitmap files. Review of the Allegro drawing primitives.
Source code for examples – https://github.com/levidsmith/AllegroExamples
New and Updated Games by Knox Developers
- The Cursed Office by Matthew – https://matthewbringledev.itch.io/the-cursed-office
- H3D Christmas by James – https://locksmitharmy.itch.io/h3d-christmas
- Polyglot Pelican by Levi – https://levidsmith.com/games/polyglot-pelican/
Links and Notes
- Official Allegro site – https://liballeg.org
- Allegro community – https://www.allegro.cc
- Allegro 5 API reference – https://www.allegro.cc/manual/5
- Delorie Software (DJGPP) – http://www.delorie.com
- DOSBox – https://www.dosbox.com
- Visual Studio – https://visualstudio.microsoft.com
- C++ reference – https://www.cplusplus.com/reference
- W3Schools C++ Tutorial/Reference – https://www.w3schools.com/cpp/
- Strike of the Centurion (Allegro) by Frank – https://frank-griffin.itch.io/strike-demo
- DJ Delorie blog at Red Hat – https://developers.redhat.com/blog/author/djdelorie/
- Theme music – Ride by Pocketmaster
Hosted by Levi D. Smith
/