So I've been making games with Python and Pygame for sometime but eventually want to move into C++ (still learning). What are good libraries for making 2D games with in C++? I've heard of Allegro, SFML, SDL; would you recommend any of these? Are there better options? Which are the most supported/robust and which have the best communities around them? Thanks for any info.
What should I use for making 2D games in C++?
Quick summary,
Personally i prefer SDL, you can find some great tutorials for a beginner at http://lazyfoo.net/tutorials/SDL/index.php.
However you might find it easier and a little bit quicker to use SFML.
I've checked out allegro but i have never actually used it so i cant say anything about it.
If your not so comfortable with C++ id consider trying SFML first, but that's up to you :)
SFML is very much more C++ though, so if you are used to using modern C++ I'd recommend that.
SFML is a really good choice if you want to develop your game.
SDL is a bit lower then SFML + it doesn't give you networking it handles couple of additional things.
Learn OpenGL/DX if you really want to get into the GPU and learn how the lower api works.
I advise this as learning, because it would take time to actually build something with raw openGL and C++ code.
Thanks, I'm leaning towards SFML for my first game. I'll see how this turns out.