Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


What are some good Object Oriented 2D graphics API?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 EddieV223   Members   -  Reputation: 1406

Like
0Likes
Like

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.

Edited by EddieV223, 08 December 2012 - 09:41 PM.

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


Sponsor:

#2 minibutmany   Members   -  Reputation: 1644

Like
1Likes
Like

Posted 09 December 2012 - 11:40 AM

SFML(Simple Fast Multi-Media Library), works best in VS 2008, It can be re-compiled to work in VS2012 or 2010
Stay gold, Pony Boy.

#3 ic0de   Members   -  Reputation: 880

Like
0Likes
Like

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 minibutmany   Members   -  Reputation: 1644

Like
0Likes
Like

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 spek   Prime Members   -  Reputation: 997

Like
0Likes
Like

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS