Sign in to follow this  

How do I load a png in Allegro?

This topic is 3718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm making a Street Fighter clone in Allegro and would like png graphics or GIF when necessary, but Allegro only supports Bitmaps. How do I load these type of extensions in Allegro.

Share this post


Link to post
Share on other sites
Allegro natively supports the following graphics files
bmp, tga, pcx, and lbm.

Allegro has a load function for each of these formats
load_bitmap()
load_tga()
load_pcx()
load_lbm()

no png, you have to use that addon in konForce's post.

Share this post


Link to post
Share on other sites

This topic is 3718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this