Python bindings for Allegro game library

David Kuehling dvdkhlng at gmx.de
Thu Mar 29 20:58:55 EDT 2012


Hi,

I'm currently packaging the 'alpy' python bindings of the Allegro game
library for the nanonote's firmware.  Most of the python example
programs just started working, so if you want to have a look: get lastet
liballegro (4.4.2-2), alpy and alpy-examples packages from

  http://downloads.qi-hardware.com/people/dvdkhlng/openwrt/ ,

then try 

  cd /usr/share/alpy/examples
  ./demo.py

For a python version of the allegro shooter game.  Other (partially)
working examples include exhello, exblend, exbitmap, exdat, excolmap,
exunicode*.py.

Alpy currently gives you 2-D framebuffer graphics with (shaded) sprite
drawing, including stretch and rotate transforms, midi playback,
real-time audio sample mixing and streaming, basic timers, game-capable
(multi-keypress) keyboard drivers and probably more.

Currently it loads .bmp, .tga, .pcx graphics plus the allegro game
data-files created with the 'dat' utility from liballegro-utils Once I
add support for .png and .jpeg loading, what about replacing gmenu2x
with a python script? :)

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20120330/22c18729/attachment.pgp>


More information about the discussion mailing list


interactive