Another c++ help
So I’ve finally successfully installed VS 2010 express and I’m ready to practice some c++. So this time I wanted to ask for a recommendation from people that are familiar with c++ and graphics libraries like allegro, openGL, directX…
So my question is: What graphic library should I use for a 2D game? What is better and why? etc.
Comments
phalseprofet
05. Aug 2011 · 18:47 UTC
My vote goes to SDL. I learned it after teaching myself C++ out of books and online tutorials. It should be even easier to learn for somebody who actually studied the language. Learning DX or OGL could also be beneficial in the long run, but making games with SDL is usually quicker than the others unless you have a repository of templates or classes you can use for the initialization code. Allegro may also be good for getting started quickly, but I’ve never used it at great length, so I can’t really comment on that.
Tourgen
05. Aug 2011 · 23:05 UTC
SDL for 2D.
RandomM00
06. Aug 2011 · 06:11 UTC
I agree, SDL is probably a good move, and I think you can use Open GL with it, although it’s a long time since I did anything with either…
06. Aug 2011 · 18:58 UTC
I’m not familiar with SDL, but I’d recommend OpenGL over DirectX…
SirNewt
07. Aug 2011 · 22:28 UTC
That question deserves a huge, it depends.