Allegro handles windows, input, drawing, audio, and data loading for games and multimedia. It is a library, not a full game engine.
Overview
Allegro is a cross-platform library aimed at video game and multimedia programming. It takes care of low-level tasks such as opening windows, handling user input, loading assets, drawing images, and playing sounds while hiding platform differences.
Unlike a game engine, Allegro does not dictate how you structure an application; you organize logic and gameplay yourself. Allegro 5 adds hardware-accelerated bitmap and primitive drawing through OpenGL or Direct3D, font loading and rendering, video playback, audio recording, shader abstractions, and low-level polygon drawing.
The core ships as a C API that can be used from C++ and many other languages via bindings. Support covers Windows, Linux, macOS, iPhone, and Android. Optional addon libraries extend image, audio, and archive handling when their dependencies are present on the build machine.
Reference material and tutorials are available on the project website, along with downloads for current and older releases and community channels such as Discord and forums.
Key features
- Window and input handling
- OpenGL or Direct3D drawing
- Sound playback and recording
- Font and video support
- C API with language bindings
- Optional image and audio addons
- Shader and polygon helpers
- Archive access via addons
Use cases
- 2D and multimedia games
- Custom game structure without an engine
- Cross-platform multimedia utilities
- Prototypes needing graphics and audio