Allegro vs SDL vs SFML (yea, many outdated topics out here)
Posted: Sat Aug 14, 2010 8:04 am
I have learned a little bit of Allegro, created a simple game, was struggling with tile maps recently, however failed, so started improving my C++ skills, since i knew basically the basics well, but not the little bit advanced stuff.
Anyway, i was looking for something on the internet, and i ran into some game's, i guess open source, programming discussion. Someone recently has advised the guy, who is programming the game, to switch to SDL from Allegro. He claimed, that Allegro was good in DOS times, little weaker PCs and stuff like that, as SDL is more modern language, have more C++ support, instead of C. So i've googled again, found many threads, which are outdated a lot, in some threads there were suggestions, that SFML is even better than both of these libraries - it's more modern and it has even more C++ support, instead of C. As Allegro is plain C, SDL is half C and half C++, and that last one - SFML is plain C++. So it sounded pretty tempting to me.
Anyway, here is what i know and who i am:
I know C++'s basics well, now learning the little advanced stuff of C++, like classes and structures and stuff like that,
What i intend to make:
Currently a lot of 2D games, for about half a year to a year. Like platformers, maybe some not very advanced rpg at the end. Games are not going to be cross-platformed, most likely. After that, i think, that i will be able to take on a 3D game, maybe i will make some friends to work with over that time too, since a 3D game, for my current knowledge of programming process, takes a lot of time. Especially for a single person.
What i have made already:
I have made a few console games in plain C++, when i was learning the basics, Ping Pong in Allegro, Some other game with no name even, just to learn the tile maps, haven't finished completely, as i failed to make the collision detection.
I have also made a few programs, but those are simple C++ basic programs, not very useful for Windows user.
Criteria to the library i am going to take:
Since i am a noobie still, i would like the one, which is not VERY advanced. I mean to learn it, and to be able to understand it. Also i would like to take some, to receive support on questions about it. And it should support 2D games pretty good. I don't care much about resource usage, as i doubt many people around here have Pentium 2 computers. Also, i intend to use Windows 7 for myself.
If you need more information on what i know, what i need or what i would like to do, please ask.
Links:
http://www.sfml-dev.org/
http://www.allegro.cc/
http://www.libsdl.org/
Anyway, i was looking for something on the internet, and i ran into some game's, i guess open source, programming discussion. Someone recently has advised the guy, who is programming the game, to switch to SDL from Allegro. He claimed, that Allegro was good in DOS times, little weaker PCs and stuff like that, as SDL is more modern language, have more C++ support, instead of C. So i've googled again, found many threads, which are outdated a lot, in some threads there were suggestions, that SFML is even better than both of these libraries - it's more modern and it has even more C++ support, instead of C. As Allegro is plain C, SDL is half C and half C++, and that last one - SFML is plain C++. So it sounded pretty tempting to me.
Anyway, here is what i know and who i am:
I know C++'s basics well, now learning the little advanced stuff of C++, like classes and structures and stuff like that,
What i intend to make:
Currently a lot of 2D games, for about half a year to a year. Like platformers, maybe some not very advanced rpg at the end. Games are not going to be cross-platformed, most likely. After that, i think, that i will be able to take on a 3D game, maybe i will make some friends to work with over that time too, since a 3D game, for my current knowledge of programming process, takes a lot of time. Especially for a single person.
What i have made already:
I have made a few console games in plain C++, when i was learning the basics, Ping Pong in Allegro, Some other game with no name even, just to learn the tile maps, haven't finished completely, as i failed to make the collision detection.
I have also made a few programs, but those are simple C++ basic programs, not very useful for Windows user.
Criteria to the library i am going to take:
Since i am a noobie still, i would like the one, which is not VERY advanced. I mean to learn it, and to be able to understand it. Also i would like to take some, to receive support on questions about it. And it should support 2D games pretty good. I don't care much about resource usage, as i doubt many people around here have Pentium 2 computers. Also, i intend to use Windows 7 for myself.
If you need more information on what i know, what i need or what i would like to do, please ask.
Links:
http://www.sfml-dev.org/
http://www.allegro.cc/
http://www.libsdl.org/