Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Getting started with C++


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 Lemony Lime   Members   -  Reputation: 108

Like
0Likes
Like

Posted 23 May 2013 - 04:59 PM

I'm not new to game development, or C++... but I am new to game development with C++. I've been using Multimedia Fusion 2 prior to this, and have spent about a year in college learning C++ now, so I'm hoping to ditch MMF2, and move onto some real game coding. Which libraries would you recommend I get started with?(Specifically for 2D games at this point.) We don't start using them in school until next fall, so I haven't used a library with C++ before.

 

A few popular ones I've heard of (but honestly know nothing about) are Allegro, OpenGL, SDL, and of course DirectX. I'd probably be more interested in something that could simplify things for me a bit to get started with, which I imagine would be none of these. Any ideas along those lines?



Sponsor:

#2 0r0d   Members   -  Reputation: 819

Like
0Likes
Like

Posted 23 May 2013 - 06:15 PM

Well, OpenGL and DirectX are not 2D libraries, although they can certainly be used for rendering 2D if you want.  They're probably not the best choice for you right now since you want to keep things as simple as possible and dont need any 3D functionality.



#3 Dante12129   Members   -  Reputation: 1115

Like
2Likes
Like

Posted 23 May 2013 - 08:53 PM

I would recommend SFML 2.0. It is object-oriented, has a helpful community, and itsn't that hard to setup. (There's even a guy that provides a Code::Blocks project for it so that all you have to do is put in your installation path.)



#4 Celiasson   Members   -  Reputation: 504

Like
2Likes
Like

Posted 24 May 2013 - 12:52 AM

As previously said DirectX and OpenGL are not 2D libraries even if they can be used to for 2D rendering. SFML is something I've worked with, but only during 2 months or so. Me and some friends did a 2D game with it in college last autumn and it was pretty easy to work with. On the other hand I've programmed C++ for 3 years prior to this, so dunno how well you can code and if you can manage SFML.

When I started my first year in college we instantly started with C++ and after 6 months or so we were introduced to a 2D engine called HGE. We used that to make a simple(very simple) game for mobiles. It was 3 years ago so I'm not sure how I would feel about HGE now when I know a lot more, but I remember HGE being pretty easy to use - even as a beginner. But then again, programming was generally confusing at that time so maybe HGE isn't good at all ^^!

Might be worth checking up on, though. If HGE turns out to be too confusing I would really recommend SFML due to its helpful community and its broad usage.
 

HGE: http://hge.relishgames.com/ There are some example games posted on this link as well, might be interesting to check them out as well.

 

Good luck coding! biggrin.png


Edited by PwFClockWise, 24 May 2013 - 01:18 AM.


#5 Lemony Lime   Members   -  Reputation: 108

Like
0Likes
Like

Posted 24 May 2013 - 06:01 PM

I was thinking about choosing between Allegro and SFML... and from what I've heard, SFML has built in networking capabilities, so I think I'll go with it. Don't plan on doing that right off the bat of course, but for the future, it seems like it'll be handy... so I'd say SFML it is.






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