PDA

View Full Version : OpenGL made game source?



nashibukasan
05-19-2009, 03:06 AM
Hi all,
was wondering if anyone knows where I can get some source code for a fully functioning OpenGL game?
I just wanted to flick through some code to see how people tackle certain issues as I'm deciding whether to use OpenGL for a big project soon or use a commercial game engine instead (i'd prefer opengl). Any game will do!

Abdallah DIB
05-19-2009, 04:12 AM
if u are looking for a commercial game u can check out the source code for old QUAKE from id software game (under the GPL license) and it uses OpenGl as graphics API.
but it will not help u much bcz it is written in C

ftp://ftp.idsoftware.com/idstuff/source/quake2.zip
http://www.idsoftware.com/business/techdownloads/

u can find on net a lot of small mini-games based on GL .
but if u want to work on a big project or game it is better to use an engine (APOCALYX Ogre OpenSceneGraph Irrlicht... ) or a commercial one ( Torque, UnReal ... )

nashibukasan
05-19-2009, 04:42 AM
I currently code OpenGL in C so I will definitely look at the Quake code! Thanks! However I'm looking for some smaller project games, I have a feeling the Quake code will be so advanced it might be over my head and therefore hard to learn from haha. Any other suggestions on games smaller than Quake would be much appreciated!
I'm trying to avoid using an engine as part of the project plan is develop my own engine (basic physics and alike) in conjunction with the game.

Ilian Dinev
05-19-2009, 06:00 AM
A modern example is one open-source RTS: http://springrts.com/

Abdallah DIB
05-19-2009, 06:08 AM
wich kind of game u are looking for ? an FPS an arcade or boards .. ?
for a simple one u can check nehe tutorials or videotutorialsrock
http://www.videotutorialsrock.com

nashibukasan
05-19-2009, 06:22 AM
Ummm, a game involving some physics and such would be good, so I'm guessing and fps or adventure style 3d game.
Thanks a lot for the rts and tutorial sites I will look into all of them!

marek-knows.com
06-07-2009, 06:57 AM
I have created a number of video tutorials (>250) showing how to create your own OpenGL Game Engine. If you are interested in downloading the videos and seeing the source code visit my website.