lol, I havn't used either officially, I've dabbled in both secret arts, but my money would be on sdl, that's what I think I will end up using...sparda wrote:SDL sluts!
SDL or Allegro?
Moderator: PC Supremacists
Re: SDL or Allegro?
Re: SDL or Allegro?
If you are going to use OpenGL too, my vote is for SDL.
Else, I think both are good so I can't say in this case
Else, I think both are good so I can't say in this case
My english sucks!
Re: SDL or Allegro?
SDL, hands down.
Its more flexible.
Its more flexible.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: SDL or Allegro?
I say SDL, but I am trying to learn SFML right now, to see how much of a difference there is... I'll give you my opinion in the SDL/SFML debate later.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
- RyanPridgeon
- Chaos Rift Maniac
- Posts: 447
- Joined: Sun Sep 21, 2008 1:34 pm
- Current Project: "Triangle"
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/C++
- Location: UK
- Contact:
Re: SDL or Allegro?
I would say SDL, because it's more powerful and teaches you much better programming practice.
Also, especially because you're planning on using openGL; SDL has a wrapper for openGL. meaning you can use the non-graphical features of SDL with the powerful graphics provided by openGL.
And as someone here once said (can't remember who), "It's better to dive in at the deep end, than dive in at the shallow end and hit your head on the bottom."
That's just my two pennies' worth.
Also, especially because you're planning on using openGL; SDL has a wrapper for openGL. meaning you can use the non-graphical features of SDL with the powerful graphics provided by openGL.
And as someone here once said (can't remember who), "It's better to dive in at the deep end, than dive in at the shallow end and hit your head on the bottom."
That's just my two pennies' worth.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: SDL or Allegro?
To actually give my opinion on the SDL/SFML debate, I'll tell you what I call SFML now: Stupid French Media Layer. It DOES NOT LIKE ME. SDL does.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
-
- Chaos Rift Newbie
- Posts: 16
- Joined: Mon Nov 17, 2008 9:56 am
- Moosader
- Game Developer
- Posts: 1081
- Joined: Wed May 07, 2008 12:29 am
- Current Project: Find out at: http://www.youtube.com/coderrach
- Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
- Programming Language of Choice: C++
- Location: Kansas City
- Contact:
Re: SDL or Allegro?
Allegro is a bit easier, but if you intend to use OpenGL, I'd suggest SDL.
Or you could play with both, it's not too hard to change between. My main hang-up is how Allegro has an easy text rendering function, and with SDL it's more of a pain.
SDL does support multithreading, though, and has additional libraries for socket stuff.
Oh, and there are more resources out there for learning SDL, I believe.
Or you could play with both, it's not too hard to change between. My main hang-up is how Allegro has an easy text rendering function, and with SDL it's more of a pain.
SDL does support multithreading, though, and has additional libraries for socket stuff.
Oh, and there are more resources out there for learning SDL, I believe.
Re: SDL or Allegro?
Here we go again. Ok ok, I'll admit it, SFML sucks ballz. SDL does own for the reason Lusikka pointed out. Allegro is pretty sweet though, so I'd advice learning both SDL and Allegro; they are not hard pic up simultaneously.
Re: SDL or Allegro?
Maybe you should just try all these libraries and choose the one that gives you the best impression.
Take the time to go through some tutorials, that should help to make a decision.
Take the time to go through some tutorials, that should help to make a decision.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: SDL or Allegro?
For all those out there about to try out SFML, I'd like to kindly point out that it cannot count as an API. The amount of crap that they do for you is so insanely large that it is more of a graphics engine. Also, I found that SFML does not seem to work for me, though that may just be because of the fact that, when I was foolish enough to use SFML, I had little to no clue as to how I should structure a program (see my rank I am working on redeeming myself). SFML may be the right thing for you, but you cannot truly compare it to SDL. SDL is a window/graphics API. SFML is a window/graphics engine. Keep that in mind when making your choice.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
Re: SDL or Allegro?
Well, than you should define what the difference between an engine and an API is first. It might be that SFML is a bit more high level than SDL, but you still have full control of your program, so you are not limited in any way.Ginto8 wrote:For all those out there about to try out SFML, I'd like to kindly point out that it cannot count as an API. The amount of crap that they do for you is so insanely large that it is more of a graphics engine. Also, I found that SFML does not seem to work for me, though that may just be because of the fact that, when I was foolish enough to use SFML, I had little to no clue as to how I should structure a program (see my rank I am working on redeeming myself). SFML may be the right thing for you, but you cannot truly compare it to SDL. SDL is a window/graphics API. SFML is a window/graphics engine. Keep that in mind when making your choice.
However, this is not a SFML vs. SDL thread. I just wanted to point out that there is more than SDL and Allegro.
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: SDL or Allegro?
Then why did toy bring it upK-Bal wrote: this is not a SFML vs. SDL thread.
K-Bal wrote:Allegro or SDL? -> SFML
I personally like SDL after trying both allegro and SDL, but I think that's mainly because I used SDL before Allegro, so I understand it a little better.
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Re: SDL or Allegro?
You are quoting me out of context. As I said before, I just wanted to point out that there is more than SDL and Allegro.programmerinprogress wrote:Then why did toy bring it upK-Bal wrote: this is not a SFML vs. SDL thread.
K-Bal wrote:Allegro or SDL? -> SFML