Make A 3d Game On Your Computer

Some 3-D game development involves learning the graphics language OpenGl.

Making 3-D games on your computer is a project involving programming. Phases of this project include assembling or writing source code that converts numerical representations of 3-D objects into graphical representations. Another phase involves designing algorithms to simulate artificial intelligence for opponents and helper characters. An essential task in developing the game is calling the functions of a 3-D graphics library. Such libraries save you from coding from scratch essential 3-D operations like object rotation and movement. Making your own 3-D games lets you create simulated worlds unlike any other in existing games.


1. Download an open source 3-D game like Rigs of Rods, TypeFaster or PouetChess. You will study this game’s source code, then modify it to make your own 3-D game.

2. Install and run the 3-D game you chose in step 1. As you are playing the game, write down a list of specific things you’ll do to make this game an original one. Your list might include, “My game will have vampires instead of soldiers, and will be set in a primeval forest in Eastern Europe.”

3. Download the source code archive for the 3-D game, and extract the archive’s files to your hard drive.

4. Open and read, in Word pad or other word processor, all files that document the program. These files will have names ending in “.doc” or “.txt.” Remember the programming language mentioned in the documentation.

5. Download free software for creating programs in the language from step 4. Oracle offers such software on their Java development kit page. Developers of the GNU operating system offer C and C++ development software on their “Compiler Collection” page.

READ  Dfi P2xbl Specifications

6. Read your development software’s documentation for compiling programs. Compile the source code you downloaded in step 3.

7. Open each source file of the 3-D game in Word pad, then press “Control P” to make a printout of the file.

8. Delete, in Word pad, all program statements in each source code file, so that each file is completely blank. The original source code is still available in the archive you downloaded in step 3.

9. Place the printout for one of the source files where you can read it, then type each of its lines exactly as written into the blank file you made in the previous step.

10. Delete and retype, using instructions from steps 8 and 9, the remaining source code files for the 3-D game. This procedure immerses you in the game’s source code.

11. Recompile the source code using step 6’s instructions. Play the 3-D game again to ensure compilation completed successfully.

12. Delete the source file statements again. Retype the first file from memory this time, reading the printout only when you have forgotten a statement. Once you can retype all statements in this file from memory, type from memory the remaining source files. Recalling the game’s source code from memory completes your understanding of the code. The skill that results allows you to turn the game into the one you described in step 2.

13. Recompile and play the game, then write the source code for the first modification you described in step 2.

14. Make sure your first modification worked as you expected. Write the source for the remaining modifications to complete your 3-D game.

READ  Build Virtual 3d Screen Software