Game programming

Hi everyone, I used to learn Pascal as a starting language. After that, I started to learn C++ 4 months ago and now, I've grasped the basics of the language. I want to write a mini 2d game but don't know where to start. Should I learn about WinForms in Visual c++ first or just jump right into games programming?
You should get comfortable with a C++ Graphics Library if you want to make a game, I think you want to see something happening when you write a game ;)

Furthermore, now is the point where u decide if you make your game platform independent...
If you don't care about cross-platform Programming and you use Windows you could go with Visual C++.

If you want cross-platform-compatibility and you want a fancy GUI you should take a look at QtCreator, it's an awesome cross-platform IDE (in my opinion even better than Visual Studio) with a nice documentation and a large library implemented (Called the Qt Library)

If you just want to make a simple mini 2d game these Libraries come to my mind:
- SFML2
- SDL2
- OpenGL

I haven't used OpenGL myself to be honsest and it might be to big for a simple Game but I like both of the other two. I think I'd go with SFML because it uses Classes and therefore you can just take a look at the Header Files to search for a Method. Furthermore you can Inherit from them.
As far as i know Valve/Steam uses SDL, but this information may be deprecated, better look that up yourself if you want to be sure about that ^^

Last edited on
Topic archived. No new replies allowed.