cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
allegro with png's on linux
allegro with png's on linux
Mar 15, 2014 at 1:50pm UTC
axtyax
(66)
I am trying to make a game with allegro and i am getting very frustrated that i can only use bmp's
so if somebody could just walk me through how to be able to use png's with the allegro library, that would be awesome.
THANKS!
Mar 15, 2014 at 4:57pm UTC
NoXzema
(699)
There are 2 ways:
Use the image addon:
http://alleg.sourceforge.net/a5docs/5.0.10/image.html#al_init_image_addon
Or create your own format handlers:
http://alleg.sourceforge.net/a5docs/5.0.10/graphics.html#al_register_bitmap_loader
Topic archived. No new replies allowed.