Author Topic: Allegro vs SDL ?  (Read 6797 times)

0 Members and 1 Guest are viewing this topic.

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Allegro vs SDL ?
« on: June 02, 2009 »

I'm getting to the point in C++ where I have the ability to start making some simple graphics and media. I will be mostly using the Windows platform but wish to keep things open-ended because there are other OSs out there. Now I have considered both Allegro and SDL. My question is which to choose? Of course, the real answer will probably be different from person to person so please share your opinion! I enjoy game development and it seems that Allegro is more of a game library?
« Last Edit: June 02, 2009 by Pixel_Outlaw »
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Allegro vs SDL ?
« Reply #1 on: June 02, 2009 »
To throw a third candidate into the pool, did you have a look at
http://hge.relishgames.com/ yet ? Seems to be a good
2D game engine, too.

I had a quick look at all of them - in the end I prefered SDL, because
it has a huge community and a lot of 3rd party extensions. Although
I just played around with them and didnt do any big project with it.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: Allegro vs SDL ?
« Reply #2 on: June 02, 2009 »
Thanks benny!

I think I want to stay cross platform to some extent however. The link seems to favor DirectX which will limit my options.
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Allegro vs SDL ?
« Reply #3 on: June 02, 2009 »
I used SDL a couple of times. It's the easiest choice if you need platform-independance beyond windows/linux (eg. pocket-pc, amiga, dreamcast, playstation, etc).
While SDL is pretty lowlevel, Allegro has some additions like bitmap-loaders, primitive-drawing, sound-playback and some math-functions - some of these are better implemented in dedicated libs (like devil or FMOD), others are generally superseded by OpenGL.
If you're more into object-orientated programming I'd use SFML instead of SDL.
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Allegro vs SDL ?
« Reply #4 on: June 02, 2009 »
Allegro is all under one roof(just one files of alleg40.dll but I do know been update up to 4.2 or 5 I think) where SDL, you have add some library to make things work....eg...  SDL.dll and other things files too.

Everyone have different view, SDL is like OPENGL I think where Allergo is Direct x as it like Open GL Vs Direct x

Benny Hill ;) got good point when he say "huge community and a lot of 3rd party extensions" for SDL

Pick what you like, See what fit for you and also what you feel converable with the language that you are happy with it.

good Luck Pixel :)



Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Allegro vs SDL ?
« Reply #5 on: June 02, 2009 »
SDL seems to have much better support so on the face of it I think that's the one I would choose too.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Allegro vs SDL ?
« Reply #6 on: June 02, 2009 »
Ive used sdl, onething I didnt like much was that it makes this thick bordering around any presentations.

And I always thought that Alegro was a car.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: Allegro vs SDL ?
« Reply #7 on: June 02, 2009 »
Thanks guys. Just trying to see what kind of support there is for both here.
Challenge Trophies Won: