What should i study to become a good c++ game programmer?

Started by
6 comments, last by ApochPiQ 12 years, 1 month ago
Hello,

I know C++, but i've never developed any computer games on C++. What should i study to become a game programmer? Any good books, tutorials? Where to get started? Should i look into other people's code or develop my own simple game first? Are there any 'things every c++ game programmer should know'?


Thanks
Advertisement
At first you should start making your posts look less like fake posts. rolleyes.gif

Anyway, you already answered your own questions.
"What should i study to become a game programmer?" ==> "develop my own simple game first"
"Are there any 'things every c++ game programmer should know'?" ==> "good books, tutorials"

  1. Focus on results, i.e. finished programs. You'll ever only know why something is considered "good C++" if you did it wrongly in the first time.
  2. Again. Code to make stuff happen, and choose the simplest working way. ("Simplest" does in no way mean "sloppy".)
  3. As you work your way through real programming problems, you'll see when you need to learn more complex C++ stuff. Google for solutions and try to apply them to your work. (Some things look shiny (macros, template metaprogramming) but make your program worse if not properly used)
  4. http://yosefk.com/c++fqa/
  5. http://www.parashift.com/c++-faq-lite/
Thank you, demonkoryu! I'll start from coding a simple game!
Lern C++ Sergey, lern.
(( I am learning English. ))
Studying, reading books and learning tutorials on their own won't help you. At best this approach will get you to a level where you're a moderately competent code-grinder. There is no prescribed list of "things you must read" for this: you need to sit down and do it the hard way. Write lots of code, make lots of mistakes, fix them, release products, try new things out, and repeat the whole process for as many times as it takes.

Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls.

Well, being a good C++ programmer in game industry is kind of very broad question.
Perhaps you want to narrow it down and focus more onto a specific area or a combination of:
1. Optimazation? and how far? deep as assembly?
2. Graphics Programming? openGL/DirectX, shaders, rasterization
3. Sound Programming? fmod or write your own sound engine in begin to understand how other engines work
4. Architecture? How to structure your code, how the interfaces will communicate with each other
5. Physics? Rigid Body, Soft Body, CUDA/OpenCL?
6.. and more

The choice is yours. I would focus on one or two that interest you the most and try to learn as much as possible about it. Usual one main topic + optimization is a good combination.

If you focus on one or two, other disciplines will improve as well.

Good luck
Become a good programmer in six really hard steps.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

This topic is closed to new replies.

Advertisement