qmetrics.net

Allegro

Cross-platform C library for games and multimedia

Allegro screenshot

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

Tags

Similar software

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app