Skip to main content

Allegro 5 game development library (originaly in C) wrapped in Python

Project description

ALLEGRO 5 OFFICIAL DISTRIBUTION

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...

This is the official allegro 5 wrapper in python. It was built from the official github repo using cmake.

  • Tested on windows 10 with a 32-bit python interpreter

(It is preferable to use a 32-bit interpreter because 64-bit hasn't been tested yet)

Demo script

import os

os.environ['ALLEGRO5_DLL'] = r'path\to\allegro5\dlls'
os.environ['ALLEGRO5_VERSION'] = '5.0.10' # this is just an example

from allegro5 import *

al_run_demo()

The demo game is hosted here

Documentation

You can find official documentation here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allegro5-1.0.6.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distribution

allegro5-1.0.6-py3-none-any.whl (25.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page