in reply to 2D realtime pixel graphics options in Perl
I looked at similar options recently while prototyping a custom embedded GUI we're working on. So this isn't strictly games related, but there's some overlap in the 2D drawing and handling input aspects. This started out in C, but that quickly became frustrating :).
I ended up using the Allegro library (a games programming library somewhat similar to SDL). There's a Perl module with bindings and an OO wrapper to the API that I found here. It doesn't appear to be on CPAN, but the tarball installed fine with "perl Makefile.PL; make; make install". It does require the Allegro library (which is a one command install in Debian).
This filled my needs very well for just doing mostly loading images and drawing various rectangles and text about the screen. I didn't even try most of the API, so I'm not sure about how well it covers those parts. It certainly doesn't cover the full Allegro API, but that wasn't a problem for me in this case. There don't seem to be many people using this, so that may be a factor. The docs were kind of geared towards someone who's used Allegro before, but most things are simple enough that it shouldn't really matter.
-- Rob
|
|---|