Open source code
this thread made me want to start reading opensource games source code to learn things. So do you guy recommend any code to read?
Look at Quake and Quake II. The guys at ID give you everything. The code itself isn't very clean and may not be the best way from a software engineering standpoint. For example, once I saw a function in Q2 that used a different coordinate system than the rest of the game. It mixed the order of a coordinate triplet (XYZ).. I don't know what the rest of the program did with that function, but it worked. No reason as to why it was written like that either. That's the beauty of it.. if you can figure out what ugly working code does, you can figure out what clean working code does.
here are a few links...
Catmother
Elite Force 2
RuneSword
OpenParsec
Duke Nukem 3D
Descent 1
Descent 2
...and, last but not least, Quake 1-3
Quake is always a good start... [smile]
Catmother
Elite Force 2
RuneSword
OpenParsec
Duke Nukem 3D
Descent 1
Descent 2
...and, last but not least, Quake 1-3
Quake is always a good start... [smile]
Wowzers, I didn't know that EF2 was Open Source. Also, I'm not sure if it's been recommended yet (half-assed reading at work), but Wolfenstein: Enemy Territory seems very clean, and it's open source.
Golgotha gives you a really good idea of how the file structure of a commercial product is put together. Some of the makefiles used are awfully Linux-centric but you should be able to get an idea.
Quote:Original post by Boku San
Also, I'm not sure if it's been recommended yet (half-assed reading at work), but Wolfenstein: Enemy Territory seems very clean, and it's open source.
ah, thanks [smile] i totally forgot about that!
Wolfenstein: Enemy Territory Clicky
and you probably want to check out this site. it's a small list of open sourced commercial games which includes direct downloads of games like Descent 1+2, No One Lives Forever, Quake 1-3, Abuse, Allegiance, Wolfenstein, Battle Of Britain, Doom, Duke Nukem 3D, Golgotha, Homeworld, Raven, Rise Of The Triad, Wolfenstein... this should keep everyone busy for a while [grin]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement