Skip to main content
table of contents
References and Resources
Official Resources
Allegro 5 Documentation
- Allegro 5 Official Wiki (https://liballeg.org/a5docs/trunk/): Comprehensive documentation for functions, examples, and concepts.
- Allegro 5 GitHub Repository (https://github.com/liballeg/allegro5): Source code and issue tracking.
- Allegro.cc Forums (https://www.allegro.cc/forums/): Active community for troubleshooting and discussions.
- Allegro 5 Keyboard API (https://liballeg.org/a5docs/trunk/keyboard.html). Allegro 5 documentation page for Keyboard API.
Books
Beginner-Friendly
- Allegro 5 Game Programming by Jonathan S. Harbour: Step-by-step guide to building games with Allegro 5.
- Beginning C++ Game Programming by John Horton: While not Allegro-specific, it teaches C++ concepts applicable to game devs.
Advanced
- Game Programming Patterns by Robert Nystrom: Explores design patterns applicable to Allegro-based projects.
Tutorials and Courses
Free Tutorials
- Official Allegro Tutorials (https://liballeg.org/a5docs/trunk/getting_started.html): Basic setup and example projects.
- Classic tutorials for Allegro (https://liballeg.org/docs.html): Useful tutorials for learning Allegro. You can ask an AI assistant about additional tutorials for Allegro 4/5.
YouTube Channels
- Allegro 5 Tutorial Series by Sonar Systems (https://www.youtube.com/playlist?list=PLRtjMdoYXLf4od_bOKN3WjAPr7snPXzoe).
- Making Games with Allegro 5 by VoidRealms (https://www.youtube.com/playlist?list=PLvv0ScY6vfd9wBflF0f6ynlDQuaeKYzyc).
Sample Projects and Code Examples
GitHub Repositories
- Allegro Examples (https://github.com/liballeg/allegro5/tree/master/examples): Official example code (sprites, audio, input).
- Simple 2D Game Template (https://github.com/j3soon/Allegro5Template): Basic framework for starting projects.
- Allegro Pong Clone (https://github.com/Jshbrck/Pong): Classic Pong implementation.
Forums and Communities
Discussion Platforms
- Allegro.cc Forums (https://www.allegro.cc/forums/): The primary hub for Allegro developers.
- Reddit: r/gamedev (https://www.reddit.com/r/gamedev/): General game dev discussions.
- Stack Overflow: Allegro Tag (https://stackoverflow.com/questions/tagged/allegro5). Site for asking and getting advice on programming questions.
Complementary Libraries
- Box2D (https://box2d.org/): Physics engine integration.
- OpenAL (https://www.openal.org/): Advanced audio (Allegro’s audio module is sufficient for basics).
- OpenGL (https://www.opengl.org/): Advanced graphics (Allegro’s audio module is sufficient for basics).