Edited by EddieV223, 08 December 2012 - 09:41 PM.
What are some good Object Oriented 2D graphics API?
Started by EddieV223, Dec 08 2012 09:40 PM
4 replies to this topic
#1 Members - Reputation: 751
Posted 08 December 2012 - 09:40 PM
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.
If this post was helpful and/or constructive please give rep.
SFML2.0 Nightly Download Link http://en.sfml-dev.org/forums/index.php?topic=9513.0
SFML2.0 Tutorials http://www.sfml-dev.org/tutorials/2.0/
Ad:
#3 Members - Reputation: 671
Posted 09 December 2012 - 06:47 PM
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.
you know you program too much when you start ending sentences with semicolons.
#4 Members - Reputation: 517
Posted 12 December 2012 - 04:19 PM
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.
Stay gold, Pony Boy.
#5 Members - Reputation: 772
Posted 12 December 2012 - 05:26 PM
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.
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.






