Jump to content

  • Log In with Google      Sign In   
  • Create Account


C++, Graphics, Game Programming, Where do I start?


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
6 replies to this topic

#1 himanshu-mittal   Members   -  Reputation: 103

Like
0Likes
Like

Posted 24 December 2013 - 11:56 AM

I'm currently a computer science student at a university, and have completed more than 85% of our computer science undergraduate program. We use C++/java in most of our programming classes, but all we create are various console/terminal text based programs.

I want to try and start making a few simple (2D) games in C++, but I have no idea where to begin with anything related to GUI's or graphics. I've already made a few simple games with lua but I'm not really sure how to make C++ output anything other than text.

Do you recommend any books, websites, or libraries to get started? I don't need a tutorial on "how to program in C++", I need a tutorial on "C++ Programmers who want to begin programming games".

 

Also, I'm really looking to make a very simple game, nothing too fancy, for a start and want to make my career in game programming.



Sponsor:

#2 Xaer0   Members   -  Reputation: 468

Like
6Likes
Like

Posted 24 December 2013 - 12:35 PM

I would say if you want to start with game dev in C++, the library SFML is a really good place to start.

The documentation and tutorials provide a good starting place to get up and running, and it provides a lot of nice features for getting a window and 2d graphics in, as well as providing basic audio and input handling. Everything you need for a simple game. It also can provide a raw openGL context if you ever want/need to get into 3d graphics, but you don't have to deal with that if you don't want to (I wouldn't recommend it starting out). Their forums are also very active and helpful, so if you run into any issues, its a great place to ask for help. As are these forums if you have more general programming issues.

 

There are plenty of good options out there too, like SDL, which is pretty solid, though that has a more C based interface. Im sure others will be able to suggest more options, but I found SFML does everything i need for making simple games (and then some) and was extremely easy to get up and running quickly .

 

 

Good luck!


-Jawshttp://uploading.com/files/eff2c24d/TGEpre.zip/

#3 wicked357   Members   -  Reputation: 1153

Like
1Likes
Like

Posted 24 December 2013 - 01:22 PM

I second what Xaer said also please feel free to take a look at my open source game I made in SFML all free to use. http://www.johnschmuff.com/projects-2/paperroids/ this was build on SFML 2.0beta and they have out SFML 2.1.



#4 DefCom   Members   -  Reputation: 270

Like
-3Likes
Like

Posted 24 December 2013 - 03:26 PM

Hi,

Possibly/Probably an outdated method, but i started by just creating a win32 project and just used the GDI. Not a great method for creating games, but I learned a lot about programming before i moved onto DirectX.

 

Worth pointing out this was around 14 years ago, but i did use the GDI methods to teach some basic 3D programming just a few years ago.



#5 Nathan2222_old   Members   -  Reputation: -400

Like
0Likes
Like

Posted 24 December 2013 - 03:49 PM

Check out polycode (it's a full game engine, open source)

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32
smile.png
--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy


#6 Irlan R.   Members   -  Reputation: 1384

Like
2Likes
Like

Posted 25 December 2013 - 10:02 AM

IMHO:
 
Mathematics + Implementation
Object Oriented Programming
Effective/More Effective C++
A little about Graphics (to not get lost)
 
Build a small game using your creativity not your skills and keeping the code simple as possible.
Also choose a library of your taste (SFML, SDL, etc.)


#7 ngoaho91   Members   -  Reputation: 239

Like
0Likes
Like

Posted 27 December 2013 - 06:27 AM

you need a graphics engine, these are some

- cocos2d-x

- sfml

or these if you need a wide-range framework, not only graphics

- open framework

- cinder






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