Jump to content
  • Advertisement
Sign in to follow this  
EddieV223

What are some good Object Oriented 2D graphics API?

This topic is 2078 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
Just curious but why do you need it to be Object Oriented? Otherwise there's SDL 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
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
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!