Link to home
Start Free TrialLog in
Avatar of myawayg
myawayg

asked on

game source

Can anyone tell me where I can find a source code of game(a real game not a tutorial or sample).I want to learn to build a game.Thank you very much.
Avatar of Batalf
Batalf
Flag of United States of America image

There are some links at this site.

http://members.tripod.com/jcarbrey/cpp_programming_sourcecode/

You could also make a search at altavista.

search for :

c++&game&source&code

Regards
Batalf
ASKER CERTIFIED SOLUTION
Avatar of Batalf
Batalf
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmm, when the redirector starts working again :(
this siteis not bat either:

gameprog.com
Avatar of mikeblas
mikeblas

It's surprising to me that no other Experts have pointed out that the very popular game, Quake, has made a source-code release.

There are many different places you can go to join groups working on the source code.  One is http://quake.sourceforge.net/ .  Search the web for "Open source" and Quake and you'll find them all!

I'm not sure if you should learn from this kind of thing, though. You asked for a "real game", and I can't imagine anything more "real" than a multi-platinum best seller. But learning from a poorly commented source code base is not such a great idea. You'll see the results, sure; but you'll have no idea why the developers cut all the corners that they did--or have any inkling of when it's appropriate to do so in your own programming.

..B ekiM
Exactly, at least with my source you can ask the programmer about any questions you have... :)
Avatar of myawayg

ASKER

I'm looking for a game in first  or third person  in 3D like quake ,doom , hexen or other game in 3D but I needs a source that use DirectX.
Ouch!
Maybe mikeblas knows?
I don't know of any such codebases available to the public.

By the way, if DirectX was a requirement, why didn't you mention that in your original question?

..B ekiM
That's a good ---> . <---