How to Make 3D Java Games

Written by darrin koltow
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Make 3D Java Games
Integrated development environments make game development much easier than word processors. (binary world image by Attila Toro from

3-D Java games immerse players in environments that simulate the appearance of the real world. Creating such games from scratch involves extensive computer programming that applies 3-D geometrical operations to numerical data representing 3-D objects. These operations include movement, rotation and expanding and shrinking in 3-D space. Fortunately, there are easier ways to make such games, including studying existing programs. Making 3-D Java games lets you create scenarios, characters and environments that no other game has.

Skill level:

Other People Are Reading


  1. 1

    Download 3-D Java games such as CarDriving, Bolzplatz 2006 and Risk (see Resources). Install, run and play each game according to the instructions that accompany it.

  2. 2

    For the Java game you like best, list at least five modifications you'll make to the game. The more mods you list and the more specific you can be, the greater originality your game will have.

  3. 3

    Download the zipped text files containing the 3-D game's source code statements. (The site you downloaded the game from will indicate the link location for the source code archive.)

  4. 4

    Install the JDK software from Oracle's Java Development Kit (JDK) page (see Resources). This software has tools for compiling and debugging Java games and other applications.

  5. 5

    Print, from a word processor or text editor like Notepad, each source file in the archive you downloaded in step 3.

  6. 6

    In the word processor, create a new set of blank documents whose filenames match those of the archive's files.

  7. 7

    Delete the Java game's original source files (but not the archive, which will keep the original source intact).

  8. 8

    Read each statement from one of the printouts, then type it exactly as written into the new, blank document that has the same filename as the one corresponding to the printout. For example, if the printout was from the file "," type the statements into the blank version of ""

  9. 9

    Repeat step 8 for the remaining printouts to duplicate exactly the original source code for the Java 3-D game. The concentrated reading this copying procedure requires lays the groundwork for understanding how the game works. Once you understand how the game works, you can apply your modifications to it.

  10. 10

    Compile and run the duplicated source code, using the instructions in the JDK.

  11. 11

    Delete one of the game's duplicated source files, which you typed in step 9. Retype the same file without looking at the printout you used to type it the first time. Repeat this step until you can accurately recall and type all statements in the file. Repeat the previous step and this step for the remaining source files of the 3-D game. This process of reciting the source code requires a study that builds on the understanding from step 8 and 9's concentrated reading. The ability to recite the source provides enough skill to make the modifications you detailed in step 2.

  12. 12

    Compile the recited source code and run the Java program to verify your memory and understanding of the code.

  13. 13

    For one of step 2's modifications, write the source code that implements that modification. Recompile and play the game. If it doesn't work as expected, debug it by following the JKD's instructions.

  14. 14

    Repeat the previous step for the remaining mods on your list to finish your 3-D Java game.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.