Allegro Dev C++
MacOS X binaries. Allegro 5 can be found in the allegro package on homebrew.See the wiki tutorial for more details. For Linux distributions based on Ubuntu (and Ubuntu itself), you can download binary packages for Allegro 5 by adding the a PPA to your software sources, and then installing the relevant packages. See the wiki tutorial for more details. Jun 29, 2009 How to install Allegro in Dev-C and how to create a project that uses it. If you want to manually download the libraries, here's the link for Allegro 4: ht. Compatibility with Dev-C. Another of my interests in using Allegro for the course is compatibility with the BloodshedSoftware Dev-C IDE (see Resources), which is also free for my students to download and install on their computers at home. Even though the computers in the lab where I teach are configured with the Windows XP operating system, my preference is to. Jul 12, 2011 The Allegro bin files are not system library files and you SHOULD NEVER copy them into the windows folder. Just wanted to point that out. In Visual C 2010 Express, you can go Configuration Properties-Debugging and set the Environment to PATH=callegrobin;%PATH% If you have placed the allegro folder somewhere else then edit the path accordingly. Welcome to the Allegro 5 Wiki! This wiki is being migrated from Allegro.cc. Allegro is a cross-platform game programming library written in C. Read the Quickstart to learn how to install Allegro and create a simple program. Tutorials & guides. Allegro Vivace - the Allegro library tutorial; Learn C and C; View all.
Original author(s) | Shawn Hargreaves [pl] |
---|---|
Developer(s) | Allegro developers |
Initial release | early 1990; 30 years ago |
Stable release | 5.2.6 / February 9, 2020; 2 months ago |
Repository | |
Written in | C |
Operating system | Windows, Linux, macOS, et al. |
Type | Multimedia and GamesSDK |
License | Allegro 4: Beerware[1] Allegro 5: zlib |
Website | liballeg.org |
Usage |
Allegro is a software library for video game development.[2][3][4] The functionality of the library includes support for basic 2D graphics, image manipulation, text output, audio output, MIDI music, input and timers, as well as additional routines for fixed-point and floating-point matrix arithmetic, Unicode strings, file system access, file manipulation, data files, and 3D graphics. The library is written in the C programming language and designed to be used with C, C++, or Objective-C, with bindings available for Python, Lua, Scheme, D, Go, and other languages.[5] Allegro comes with extensive documentation and many examples.
Allegro supports Windows, macOS, Unix-like systems, Android, and iOS, abstracting their application programming interfaces (APIs) into one portable interface. Previous versions up to 4.4 supported Windows, macOS, DOS, BeOS, and various Unix-like systems with (or without) the X Window System. There is also an independent port of Allegro on AmigaOS 4 and MorphOS.
Released under the terms of the zlib license, Allegro is free and open source software.
History[edit]
Initially standing for Atari Low-Level Game Routines,[6] Allegro was originally created by Shawn Hargreaves [pl] for the Atari ST in the early 1990s. However, Hargreaves abandoned the Atari version as he realized the platform was dying, and reimplemented his work for the Borland C++ and DJGPP compilers in 1995. Support for Borland C++ was dropped in version 2.0, and DJGPP was the only supported compiler. As DJGPP was a DOS compiler, all games which used Allegro therefore used DOS. Around 1998, Allegro branched out into several versions. A port to Windows, WinAllegro, was created, and also during this time, a Unix port of Allegro, XwinAllegro, was created. These various ports were brought together during the Allegro 3.9 WIP versions, with Allegro 4.0 being the first stable version of Allegro to support multiple platforms.
Allegro 5[edit]
Current development is focused on the Allegro 5 branch, a complete redesign of both the API and much of the library's internal operation. Effort was made to make the API more consistent and multi-thread safe. By default, the library is now hardware accelerated using OpenGL or DirectX rendering backends where appropriate. Many of the addons that existed as separate projects for Allegro 4 now interface seamlessly with Allegro proper and are bundled with the default installation. Allegro 5 is event driven.
Features[edit]
Allegro provides the following graphic functions:
- Vector drawing:
- pixels, lines, rectangles, triangles, circles, ellipses, arcs, Bézier curves
- shape fill, with or without pattern
- polygons: flat, Gouraud, textured (3D) and translucent
- Sprites:
- masked, compressed and compiled sprites
- blitting, rotation, stretching, reduction, alpha blending, Gouraud shading
- native support for BMP, LBM, PCX and TGA files (others supported with library extensions)
- Color palettes:
- color palette manipulation (reading, writing, conversion)
- conversion of color formats RGB <-> HSV
- Text:
- support for different encodings and conversion, default is UTF-8
- bitmap fonts (masking, colouring, alignment)
- Misc:
- draw directly on the screen or on any-size memory bitmaps
- hardware scrolling and triple buffering (where available), mode X split screen
- animation functions for FLIC format[7]
Addons[edit]
The community of Allegro users have contributed several library extensions to handle things like scrolling tile maps and import and export of various file formats (e.g. PNG, GIF, JPEG images, MPEG video, Ogg, MP3, IT, S3M, XM music, TTFfonts, and more).
Allegro 4.x and below can be used in conjunction with OpenGL by using the library AllegroGL which extends Allegro's functionality into OpenGL and therefore the hardware. Allegro 5 natively supports OpenGL.
See also[edit]
- Borland Graphics Interface (BGI)
- OpenML
References[edit]
- ^Allegro Development Team. 'The giftware license'. Retrieved 2013-11-16.
- ^Harbour, Jonathan (2004). Game Programming All in One, Second Edition. Course Technology PTR. ISBN1-59200-383-4.
- ^Steinke, Lennart (2003). Spielprogrammierung. BHV Verlag. ISBN3-8266-8075-8.
- ^Deitel, P. J. (2006). C How to Program. How to Program. Prentice Hall. ISBN0-13-240416-8.
- ^List of Allegro language bindings
- ^Forum posting by Shawn Hargreaves
- ^Allegro Introduction
External links[edit]
- Official website
/auto-tune-i-set-my-friends-on-fire.html. Welcome to the Allegro 5 Wiki!
Allegro is a cross-platform game programming library written in C.
Install
Read the Quickstart to learn how to install Allegro and create a simple program.
Tutorials & guides
- Allegro Vivace - the Allegro library tutorial
Documentation
- Allegro.cc reference manual - Includes useful references to forum posts, but is often out-of-date.
Getting help
- Frequently Asked Questions (FAQ)
- Allegro on StackOverflow (Q&A)
- Search the Allegro.cc forums

Developing Allegro
We welcome contributions to Allegro from anyone.
- Open an issue if you'd like to report a bug or suggest a feature.
- Even better, fork the repository and submit a pull request.
- Check first that nobody's submitted the same issue or pull request.
Misc
3utools unable to read nonce. Wiki homepage Allegro homepage Allegro.cc Reference manual