Sign in to follow this  
EddieV223

What are some good Object Oriented 2D graphics API?

Recommended Posts

EddieV223    1839
What are some good Object Oriented 2D Graphics APIs? For c++, free is better but not completely necessary. Bonus points if they work with VS2012. Edited by EddieV223

Share this post


Link to post
Share on other sites
ic0de    1012
Just curious but why do you need it to be Object Oriented? Otherwise there's [url="http://www.libsdl.org/"]SDL[/url] a library that does 2d graphics and more that I use quite extensively with C++ although it's technically C and therefore not object oriented.

Share this post


Link to post
Share on other sites
minibutmany    1998
You do not need to program object oriented, but it makes development faster and easier(C is actually capable of OOP). SFML and SDL are pretty similar in concept, SFML is just newer and provides "fancy" features like networking. I would try out both SDL and SFML and then choose which one you get a better feel for, they are both equally capable of producing high quality games.

Share this post


Link to post
Share on other sites
spek    1240
The practical difference between OOP and non OOP in a nutshell
gun->shoot( ); // OOP
functionShootGun( &gun ); // non OOP

Besides a bunch of inheritance functions that can make life easier (but also worse if poorly implemented). I'd say it doesn't really matter in the end, just as long the library you'll be using is cleverly set-up, providing examples, and documents. DirectX is OOP I believe, OpenGL is non OOP and works like a state machine. And both kick ass.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this