Be a Supporter!
Sneak4000
Sneak4000
  • Member since: Dec. 19, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
C++ graphics library? Jun. 9th, 2012 @ 05:20 PM Reply

I've been fluent in C++ for a while but I never really got around to installing a graphics library. Recently I've been starting to want to make games in it, so which one should I choose? What makes that one good?

thePalindrome
thePalindrome
  • Member since: Aug. 13, 2011
  • Offline.
Forum Stats
Member
Level 05
Game Developer
Response to C++ graphics library? Jun. 9th, 2012 @ 06:25 PM Reply

At 6/9/12 05:20 PM, Sneak4000 wrote: I've been fluent in C++ for a while but I never really got around to installing a graphics library. Recently I've been starting to want to make games in it, so which one should I choose? What makes that one good?

I personally use SDL, because I found Great Tutorials for it, and it makes OpenGL a little easier!

FantasticAxiom
FantasticAxiom
  • Member since: Jun. 6, 2012
  • Offline.
Forum Stats
Member
Level 01
Programmer
Response to C++ graphics library? Jun. 9th, 2012 @ 07:32 PM Reply

I just finished learning Allegro 5 which is the "easier" version of SDL. They're very similar, but SDL makes you do a lot of low level stuff that is pretty much the same every single time you make a game and is thus useless, but really it's just whatever you prefer. I found one particular tutorial that helped me understand everything so well that I can pretty much recite the process of making a game from scratch after just a week. He doesn't use objects/classes in the first set of tutorials but he also has a separate OOP course involving allegro that basically re-iterates what he does in the first tutorial, just with classes. Basically with those alone you should be good to go.

Wolfos
Wolfos
  • Member since: Jan. 19, 2008
  • Offline.
Forum Stats
Member
Level 25
Game Developer
Response to C++ graphics library? Jun. 10th, 2012 @ 04:30 AM Reply

http://freeglut.sourceforge.net/
Or, if you're under OS-X, you can just link GLUT.

Tortoiseius
Tortoiseius
  • Member since: Oct. 9, 2011
  • Offline.
Forum Stats
Member
Level 02
Game Developer
Response to C++ graphics library? Jun. 19th, 2012 @ 07:39 PM Reply

Hello.

You can try to use SDL or ALLEGRO libraries , this last one consist in an graphic library specifically oriented to game develop with a lot of useful functions for the game develop. You can also develop games with SDL because is a powerful graphic library but isn't entire specifically for games.

i have some experience with allegro and i can say is very easy and powerful for 2d games :).

blah569
blah569
  • Member since: Jan. 18, 2005
  • Offline.
Forum Stats
Member
Level 25
Programmer
Response to C++ graphics library? Jun. 19th, 2012 @ 07:50 PM Reply

SFML is also worth checking out.


BBS Signature