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
Built Distribution
File details
Details for the file allegro5-1.0.6.tar.gz
.
File metadata
- Download URL: allegro5-1.0.6.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b22f51e76667f27df045acf1484e4d54a6a18af811ca1ee3b58b27c68f5ad8c |
|
MD5 | e9aecfdd9eb7e3929eab74b7cd42765a |
|
BLAKE2b-256 | 16eb4ab4380043f2554f77eec26e93eae6b6f36ab69406ecd4bd9bff2caf78f0 |
File details
Details for the file allegro5-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: allegro5-1.0.6-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e9bd4b9198476d5f7a405777a3d17b37707241cdf45f346fe1104d1c0b94bc |
|
MD5 | 3ba7e83277d9fe7bbadcf42935c1f633 |
|
BLAKE2b-256 | e180da9b8af1a62afd932f3bc2e84a83e02dbbba3071ff9687303f0e0239e860 |