Advertisement

APIs question...

Started by March 08, 2003 02:47 PM
2 comments, last by mujo 21 years, 8 months ago
I suppose this will be 100.000.000.000th time that somebody ask this question but forgive me, I''m still in "making decision" phaze. However, here is it: "What are the main diferences between Allegro and SDL graphic libraries?" Does any body have some link to good article... or reference on games made with these libraries... personal experiences... anything that would be relevant for "making decision" phase in which I am now. Thanks and happy ansvering :-))) ----- Q: What''s the difference between semaphore and monitor? A: Hmm... semaphore has only three pixels :-|
----- Q: What's the difference between semaphore and monitor?A: Hmm... semaphore has only three pixels :-|

The main difference between the two API''s is the people using
it. Allegro can be used with the languages C and C++, SDL can
be used with virtually any language. Allegro works with simple
functions names, And if i''m not mistaken, SDL uses namespaces
and structs. A game made by SDL is Empire Earth...or at least
it''s been ported with it, I can''t recall any commercial game
written with allegro though. Also, SDL has a very good support
for OpenGL, Allegro has something called AllegroGL, However,
Speaking out of my own experience, AllegroGL has alot of bugs
and problems.

Allegro is simpler than SDL, However, Lacks certain things SDL
has like more structure and OpenGL.
Advertisement
Travis covered most of the points. I just wanted to chime in that Allegro is a high level library while SDL is low level. Meaning that in theory, you should get better performance in SDL.

It also appears that SDL has a bigger user base, as a result, there are many compatible 3rd party libraries that integrate well with SDL, while with Allegro you pretty much stuck with what the developers come up with.



OK thanks!

I think SDL is the choice... at least for now ;-)

-----
Q: What''s the difference between semaphore and monitor?
A: Hmm... semaphore has only three pixels :-|

----- Q: What's the difference between semaphore and monitor?A: Hmm... semaphore has only three pixels :-|

This topic is closed to new replies.

Advertisement