Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


beginning game programming

Posted on 2002-05-20
Medium Priority
Last Modified: 2013-11-12
i want to learn how to make my own games. how do i start learning how to do this? any sites aout there that will help me?
Question by:nikmagid
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 7025662
Not necessarily for beginners, but here are some good resources:

gamasutra.com, flipcode.com, gamedev.net

Expert Comment

ID: 7025848
Learn to program first.  The industry generally uses C or C++ for most commercial games out there.

Then buy books, lots and lots of books.

Expert Comment

by:Jan Louwerens
ID: 7027938
Another good place for learning game coding in an academic environment is at:
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 7073150
Assuming you already have some rudiments of C,
you can use www.libsdl.org, it's a cross platform
library. it has lots of interface to make the harder things
possible, is fast. then you may pick cpp, but as
skills advance, typically you'd rather want to go down
rather than "up", most professional game programmers
bend toward assembly to get the most out of the hardware.
it's not that hard and brings lots of light to how it works.
That's the top-bottom approach.

If you don't know C, you may need only 2-3 books that
many said it can suffice for a lifetime:
- The C programming language, K&R.
- C: A Reference Manual , from Harbisson.
Check out also http://accu.org/ for other references.
Later If you got time to read, read code from
experienced programmers, rather than books.
time is precious.

Game programming is lot of fun and enjoyment.
Excellent for mental health points.

- Boris


Expert Comment

by:David MacDonald
ID: 7075865
If you know a bit C++ you should buy the book: "Trick of the windows game programming guru"

It's one of the best in my opinion, for someone who begins game programming, assuming you want to do it using C++...


Expert Comment

ID: 7102840
game programming is one hell of a job.I myself am a beginner. Now, i am saying this not to scare you but just so that you are aware of the facts. It requires a huge amount of patience, you keep popping up with unexpected issues and problems, plus you will probably have to write source code that exceeds a few megabytes of size.

But for the actual answer.
As everybody has said, learn c and C++ if you don't already know it.
Then i would suggest you get comfortable with OpenGL. Visit www.opengl.org for information.
Try to get someone else who has similar interests, this will make things more fun. Plus there are too many areas to handle alone, like physics, AI, sound programming and all.
As already mentioned,flipcode.com, gametutorials.com,gamasutra.com are good resources.

Expert Comment

ID: 7142491
You could write games using C/C++ or Java.
A good website would be: www.gamedev.net ,if you have experince in C/C++ this would help a lot.If you know C functions and arrays this would help you a lot.The games industry mostly uses C/C++ for making games.

Expert Comment

ID: 7242587

I am a fellow beginning game programmer. My recommendation would be to learn the fundamentals of C++ programming before tackling gaming.

Why C++? For one, it is very common among the best of games, including Return to Castle Wolfenstein. Two, it is very powerful and fairly easy to learn. Three, it can be both object oriented and sequential, which is a bonus because you get to learn both concepts.

I, personally, had a little trouble deciding which game library to use. Primarily, there are DirectX and OpenGL. Supporters of both will defend their claims. My choice became DirectX, since it has remained very up-to-date and is quite functional. If you want a simple library, you might try libCON (however, it's slow).

If you are impatient, like me :-), try this website:


It quickly teaches you how to create a win32 window, then steps progressively into DirectX game programming.

Hope that helps!


Expert Comment

ID: 7271323
If you are looking to start out simply, check out http://www.allegro.cc, and http://alleg.sf.net.

Allegro is a 2D game library. It supports DOS, Windows, Linux, and most Unix's With X installed.

For me, using Allegro has helped quite a bit, the people at allegro.cc, and on the allegro, and agp mailing lists are freindly, and helpfull.

If you want to do all the Higher level code like line, rect, polygon, triangle, rectfill, elipse, etc, then by all means DirectX or SDL is for you, but If you'd rather skip all that, and start writing a game, I'd suggest Allegro.

Expert Comment

ID: 7313904
follow your heart to freedom.

Expert Comment

ID: 7333837
A lot of people might disagree, but I prefer diving into the API I want to write in.  Instead of simply buying LaMothe's next book (not knocking him, he is great), I would get a book that is based soley on the API.  It makes it easier on you, and generally includes more information on building up to where you need to be to actually program your game.

If you learn C, and want to use OpenGL. I recommend (like anyone) the Red Book (OpenGL Programming Guide) and OpenGL SuperBible. The SB deals a lot with Glut, but it is strictly C, no C++.

The Red Book is the Holy Grail of API books, far as I am concerned, and, luckily for you, you can find it online.


If you haven't learned a language yet, DO THAT.  Do not dive into any game programming book if you haven't.  Don't let the math scare you, there isn't much to it. (Well.. the book will get you through the hard parts).

I can't recommend any sole DX API books (haven't read any) but if you really want to give DX a try - LaMothe has plenty of them (not AP but game programming, with a touch of the API - it doesn't cover everything you need in the API (that is what the SDK is for I suppose), but it is as good a base as any.

Sams makes great books on languages.  I would suggest picking up C or C++ (your choice) in 21 days.

But if you don't have the cash, go here:


And then pick your poison.  All of their tutorials work you up, and they all build on the last one.  Anything new is heavily commented.  It is an excellent site.

Just remember, anyone who got into this field never left without kicking and screaming.  You can't expect to be the next Carmack, so don't try.  Do what you are capable of at first, then build on that.  Keep building, and who knows, all of us might be playing something you wrote in the future :)


Expert Comment

ID: 9464368
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Accepted Solution

AnnieMod earned 0 total points
ID: 9797159
Question PAQ'd and 50 points NOT refunded

CS Moderator

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: ErwindeVries
Released on the 7th of September this real time strategy game sets a new bar for any real time strategy game. R.U.S.E. is a game made by Eugen Systems and published by Ubisoft and released for the PC, Playstation 3 and the Xbox 360. The setting o…
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question