Difference between revisions of "FPC and Allegro"
From Free Pascal wiki
Jump to navigationJump to search (Adding category Game Development) |
(Categories and Game development links.) |
||
Line 1: | Line 1: | ||
{{FPC and Allegro}} | {{FPC and Allegro}} | ||
+ | {{Infobox game development}} | ||
==Introduction== | ==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: you are free to design and structure your program as you like. | + | '''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|game engine]]: it is a [[Game framework|game framework]] you are free to design and structure your program as you like. |
Allegro 5 has the following additional features: | Allegro 5 has the following additional features: | ||
Line 21: | Line 22: | ||
* [[Allegro.pas_tutorial_3 | Tutorial 3]]: Basic game. User input. Sprites. | * [[Allegro.pas_tutorial_3 | Tutorial 3]]: Basic game. User input. Sprites. | ||
* [[Allegro.pas_tutorial_4 | Tutorial 4]]: Sound. | * [[Allegro.pas_tutorial_4 | Tutorial 4]]: Sound. | ||
+ | |||
+ | ==See also== | ||
+ | *[[Game framework]] | ||
==Links== | ==Links== | ||
Line 27: | Line 31: | ||
*[http://allegro-pas.sourceforge.net/docs/ Online documentation] | *[http://allegro-pas.sourceforge.net/docs/ Online documentation] | ||
+ | [[Category:Games]] | ||
[[Category:Game Development]] | [[Category:Game Development]] | ||
+ | [[Category:Graphics]] |
Revision as of 13:46, 15 May 2018
│
English (en) │
español (es) │
- Allegro Game Framework - cross-platform
- Castle Game Engine - 2D and 3D cross-platform Pascal game engine
- Choosing a Game Engine
- Games
- Game Engines
- Game Frameworks
- Graphics libraries
- Lazarus- Game Developers Edition Proposal
- nxPascal - lightweight 3D game engine
- Peg Solitaire - a Lazarus game tutorial
- Projects using Lazarus - Games
- ZenGL - Pascal cross-platform game development library
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, Mac OSX, 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.
Tutorials
- Tutorial 0: Installation.
- Tutorial 1: Basic program, Allegro initialization and opening a window.
- Tutorial 2: Loading and drawind images. Data module and game title.
- Tutorial 3: Basic game. User input. Sprites.
- Tutorial 4: Sound.