Hey Im currently Learning C++ and im Wondering what library would best suit me. SDL or Allegro?, I have searched through the forums but can only find mixed views and suggestions for different situations to mine.
So yeah I know some of the basics of C++ and I am aiming to build up to create 2-D Platform Games with horizontal scrolling, object collision etc. I want to know which is easier to learn?, which of the two is a better gateway onto more advanced stuff. Which is easiest to set-up in Visual C++ 2010 and any other information that may help with my choice.
Thank You in Advance
SDL or Allegro
DirectX hands down beats everything (in my opinion, but other people have different views).
I'm one that has a different view. Have you tried SFML? I've used DX, SDL, and SFML, and I still say SFML is the best by a pretty wide margin.
DirectX hands down beats everything (in my opinion, but other people have different views).
For a 2D game, this advice is almost the definition of bad.
Either of the libraries ( plus SFML ) are all equally valid choices.
Hey Im currently Learning C++ and im Wondering what library would best suit me. SDL or Allegro?, I have searched through the forums but can only find mixed views and suggestions for different situations to mine.
So yeah I know some of the basics of C++ and I am aiming to build up to create 2-D Platform Games with horizontal scrolling, object collision etc. I want to know which is easier to learn?, which of the two is a better gateway onto more advanced stuff. Which is easiest to set-up in Visual C++ 2010 and any other information that may help with my choice.
Thank You in Advance
Both Allegro and SDL are fairly easy to learn, Allegro tends to have more canned functions (like quaternion rotations and a built in asset archive/ file system format etc) where SDL gives you access (greatly abstracted) and leaves it up to the programmer to implement the extras like the previously mentioned asset archive. That said I haven't used the 5.x version of Allegro. Setup is just a matter of pointing MSVC at the proper folders for the header files and libraries and then adding those libraries to Additonal Dependencies for the linker.
I personally like Allegro 5. It has a lot of built-in capabilities that SDL and SFML don't have, such as searching directories. The documentation online is also very easy to follow and find what you need.
That said, though, I haven't tried SDL, only Allegro and SFML.
That said, though, I haven't tried SDL, only Allegro and SFML.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement