Skip to content


Repository files navigation


This is the official GitHub mirror of the Allegro.pas (a.k.a. Allegro for Pascal or Allegro4Pascal)

Allegro.pas is a wrapper that allows to use the Allegro game programming library with Pascal and Object Pascal compilers as Free Pascal and Delphi (including the free Community Edition).

Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.

Note that the Allegro.pas project is hosted at SourceForge. I'll try to keep this GitHub mirror synchronized with it so those who want to fork it will be able to keep their branches up-to-date with the latest commits (as possible).

You can download the Game Demo (Windows and WineHQ), a simple game that shows some of the capabilities of Allegro.pas. Such a simple game isn't enough to show everything that Allegro can offer. If you want to know more about what you can do with Allegro.pas, take a peek to the documentation.

Use one of the support tools if you need help, or visit one of next forums: