| Thread Closed |
Source code of Games!!! |
Share Thread | Thread Tools |
| Jan13-07, 04:23 AM | #1 |
|
|
Source code of Games!!!
Gaming!!
I would like to have some Games..coded in C++..... If someone have those..please post it here for me....please....
|
| Jan13-07, 05:14 AM | #2 |
|
|
|
| Jan13-07, 05:18 AM | #3 |
|
|
For example, some open source games: http://osswin.sourceforge.net/games.html |
| Jan13-07, 09:43 AM | #4 |
|
|
Source code of Games!!!
There are plenty, but since games are made up of different components, you might want to consider what part of a game you want to see.
|
| Jan13-07, 10:54 AM | #5 |
|
Recognitions:
|
I once found some first person RPG source code written in QBASIC. Looked pretty good actually, although it was only an engine and was crashing often.
|
| Jan13-07, 03:07 PM | #6 |
|
|
A majority of linux games are open source. You can find source for games in almost all the genres - FPS, RTS, MMORPG, and even the simple games that are text based which you play from the terminal. This is a great way to see C/C++ in action, you can start from the simple text based then work your way up to games such as Cube.
http://www.ubuntugames.org/ Its not in English, but has it points to some open source games. Please note that a majority of these games also have win32 versions (along with the source). |
| Jan13-07, 09:36 PM | #7 |
|
|
Do a search for Quake - back in the last century id software released the source code - whicn of course killed the community.
it's written in pure c, none of that c++ garbage. |
| Jan13-07, 09:38 PM | #8 |
|
|
|
| Jan14-07, 09:56 AM | #9 |
|
|
Be warned that a lot of the Quake source is highly optimised... there are lots of good tricks to be learned from there though. (The fast approximate inverse square root function is one of my all time favourites) Also, Quake uses a very powerful software renderer, this means that if you look at the renderer code you will most likely get totally lost. Modern games use 3d hardware accelerated libraries which wrap things up like "draw a triangle" rather than expecting you to change the corresponding pixel values yourself. If you learn how to make a basic OpenGL/Direct3D window and have some reference (internet) at hand, then you already have all of the same rendering power with a faster implementation which is easier to use and requires less code. i.e. If you look at old games, don't copy the renderers, they are usually terrible by today's standards. |
| Thread Closed |
| Thread Tools | |
Similar Threads for: Source code of Games!!!
|
||||
| Thread | Forum | Replies | ||
| [SOLVED] tex source code from images | Forum Feedback & Announcements | 3 | ||
| source code examples | Computing & Technology | 5 | ||
| New computer source code.. true? | Computing & Technology | 23 | ||
| pac man source code wanted | Computing & Technology | 0 | ||
| Pssst--wanna buy some source code? | Computing & Technology | 0 | ||