Difference between revisions of "FPC and Allegro"

From Free Pascal wiki
Jump to navigationJump to search
(→‎Introduction: Link to installation tutorial.)
m (→‎Vivace tutorial: Link to the tutorial.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FPC and Allegro}}
 
{{FPC and Allegro}}
 +
{{Menu_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:
  
*Supported on Windows, Linux, Mac OSX, iPhone and Android.
+
*Supported on Windows, Linux, macOS, iPhone and Android.
 
*User-friendly, intuitive C API usable from many languages.
 
*User-friendly, intuitive C API usable from many languages.
 
*Hardware accelerated bitmap and graphical primitive drawing support (via OpenGL or Direct3D).
 
*Hardware accelerated bitmap and graphical primitive drawing support (via OpenGL or Direct3D).
Line 15: Line 16:
 
*And more!
 
*And more!
 
To use Allegro with Free Pascal you need the [http://allegro-pas.sf.net/ Allegro.pas wrapper].
 
To use Allegro with Free Pascal you need the [http://allegro-pas.sf.net/ Allegro.pas wrapper].
==Tutorials===
+
 
* [[Allegro.pas_tutorial_0 | Tutorial 0]]:  Installation.
+
==Vivace tutorial==
 +
''Allegro Vivace'' is a tutorial used by Allegro beginners for years to being introduced to it.  The latest version is [https://github.com/liballeg/allegro_wiki/wiki/Allegro-Vivace here] and I've decided to translate it to Pascal ([https://www.allegro.cc/forums/thread/618042/1044890#target with permission]).
 +
 
 +
The tutorial is in the project webpage, [http://allegro-pas.sourceforge.net/tutorials/vivace/ here].
 +
 
 +
==See also==
 +
*[[Game framework]]
  
 
==Links==
 
==Links==
Line 22: Line 29:
 
*[https://sourceforge.net/projects/allegro-pas/files/ Downloading]
 
*[https://sourceforge.net/projects/allegro-pas/files/ Downloading]
 
*[http://allegro-pas.sourceforge.net/docs/ Online documentation]
 
*[http://allegro-pas.sourceforge.net/docs/ Online documentation]
 +
 +
[[Category:Games]]
 +
[[Category:Game Development]]
 +
[[Category:Graphics]]

Latest revision as of 18:43, 24 March 2020

English (en) español (es)

Game Development

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