Allegro Platforms
ted_gress

Hi everyone,

I was wondering what platforms (PC, Mac, iPhone, Android, XBOX 360, etc)
Allegro can be ported to?

-Ted

Eric Johnson

Allegro 5 supports Linux, Windows, Mac, iOS, and Android. There may be a few others, but those are the main ones. It is theoretically possible that Allegro could be ported to any number of platforms, however.

ted_gress

Could you point me in the direction of some resources for porting to other platforms than windows

Chris Katko

It really depends on how many operating system specific things you've done.

If all you're using is Allegro functions, it's pretty easy. You just have to make sure you're using cross-platform file access functions (or simply change the / to \ in the directories mentioned in your strings.)

There's no DirectX outside Windows. (Of course)

Things like that.

But if you're using all kinds of Windows and/or DirectX specific functions, you're gonna need some patience.

- You may run into driver specific issues, however. ALSA or PulseAudio in Linux, for example, may have a "quirk" that you relied on NOT being there with DirectX when you wrote your Windows version. (Or vice versa, you relied on the quirk OF DirectX that doesn't exist in other drivers.) But you'll only know when you get there.

Thread #616830. Printed from Allegro.cc