FPC and Allegro
English · Español
Introduction
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: it is a game framework you are free to design and structure your program as you like.
Allegro 5 has the following additional features:
- Supported on Windows, Linux, macOS, iPhone and Android.
- User-friendly, intuitive C API usable from many languages.
- Hardware accelerated bitmap and graphical primitive drawing support (via OpenGL or Direct3D).
- Audio recording support.
- Font loading and drawing.
- Video playback.
- Abstractions over shaders and low-level polygon drawing.
- And more!
To use Allegro with Free Pascal you need the Allegro.pas wrapper.
Vivace tutorial
Allegro Vivace is a tutorial used by Allegro beginners for years to being introduced to it. The latest version is here and I've decided to translate it to Pascal (with permission).
The tutorial is in the project webpage, here.
See also
Links
From the Free Pascal wiki, page "FPC and Allegro", as it stood on 2020-03-24 after a change by Ñuño Martínez, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Edited on wiki.freepascal.org by 3 people, 2016–2020
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
| When | Who | What changed |
|---|---|---|
| Ñuño Martínez | Created page | |
| Ñuño Martínez | Not sure but added a tag. | |
| FTurtle | Moved categories to template (with some changes) | |
| Ñuño Martínez | Links added. | |
| Ñuño Martínez | Introduction: Link to installation tutorial. | |
| Ñuño Martínez | Tutorials= (minor) | |
| Ñuño Martínez | Tutorials: Planification | |
| Ñuño Martínez | Adding category Game Development | |
| Ñuño Martínez | Categories and Game development links. | |
| Trev | Fixed right-aligned Infobox (minor) | |
| Trev | Introduction: OSX -> macOS (minor) | |
| Ñuño Martínez | Tutorials: Change tutorial to Vivace Allegro | |
| Ñuño Martínez | Vivace tutorial: Link to the tutorial. (minor) |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
