dallegro 2.0 beta 4

March 10th, 2007 | by Aldacron |

In the late nineties when I got (a really late) start in toying around with game development, Allegro was the library I used for my experimentations. I once started work on a Java binding for it. Though I haven’t looked at it in years, Allegro still holds a special place in my heart (sob). Now, torhu has given us version 2.0 of the D binding to Allegro that he took over from someone else. From the NG announcement:

dallegro 2.0 is a new set of D bindings for Allegro.  It’s primarily tested on Windows, but is reported to work on linux.  It’s also likely to work on MacOS X, although untested so far.

A bunch of examples, plus a larger demo game is included in the dallegro download.  They are all direct ports of regular Allegro’s C versions, and are primarily used for verifying that dallegro works.  They are obviously not good examples of D programming.  I plan to add a simple Tetris clone as an example of a D game using dallegro.

dallegro is compatible with both Phobos and Tango.  Which revisions of Tango it compiles with is a bit unclear at the moment, but 1856 seems to work.

The dallegro API is the same as for C version, so just follow the Allegro manual.  Differences are noted in readme.txt.

I normally don’t like to post direct download links, but I’ll make an exception this time: this is a direct link to dallegro_20_beta4.zip. You can read more about it in torhu’s Allegro forums post.

Technorati Tags: , ,

Post a Comment