TUER
TUER : "Truly Unusual Experience of Revolution"
free open source (GPL V2) 3D FPS written in Java by Julien Gouesse
Home
Download
Play
Screenshots
Videos
Project
Contact
Download the source code
This is the SVN repository containing the source code of the pre-beta version. It uses a RAD tool
that I have created, JFPSM. The game now uses Ardor3D.
Source code of the pre-beta version
Launch JFPSM
This is the SVN repository containing the source code of the abandoned beta version.
It is a huge change for TUER, lots of change requests are de facto already implemented as I rely on the
excellent engine JMonkeyEngine 2.0 and its JOGL renderer.
Source code of the abandoned beta version
In command-line, enter: svn checkout https://tuer.svn.sourceforge.net/svnroot/tuer/tuer/
Under Eclipse, with Subclipse (at least the version 1.1.4), follow these steps:
- Right click in the package area
- Select "New" -> "Project..."
- Expand the "SVN" directory
- Select "Checkout Projects from SVN"
- Click on "Next"
- Select "Create a new repository location"
- Click on "Next"
- Type "https://tuer.svn.sourceforge.net/svnroot/tuer/" in the "URL" text field
- Click on "Next"
- Select the "tuer" folder
- Click on "Next"
- Select "Checkout as a project in the workspace"
- Click on "Finish"
Under Netbeans, follow these steps:
- Go to the "Versioning" menu -> Subversion -> Checkout...
- Enter "https://tuer.svn.sourceforge.net/svnroot/tuer/" as "Repository URL"
- Empty the "User" text field
- Click on "Next"
- Enter "tuer" in the "Reporitory Folder" field
- Do not tick the check boxes "Skip trunk" and "Scan for Netbeans Projects after Checkout"
- Fill the "Local Folder" field
- Click on "Finish"
- Wait for a while
- A popup entitled "Checkout Completed" appears, click on "Open Project"
This is the SVN repository containing the source code of the abandoned alpha version.
It uses JOGL, JOGG and JORBIS. It is the most complete version until now and it is currently deployed.
Source code of the abandoned alpha version
This tutorial explains how to create a First Person Shooter with Java and JOGL. It is written in French for the moment.
Tutorial
Install your environment
You need at least these programs to use the engine for development purposes:
- Sun (or Apple) Java Development Kit 1.6 or higher
- JOGL 1.1.1
- Subversion (SVN)
- ANT
- JMonkeyEngine 2.0 (only for the abandoned beta version)
- Ardor 3D 0.6 (only for the pre-beta version)
- Maven (only for the pre-beta version)
Java
Linux, Solaris and Windows users can get the JDK 1.6 here. Mac users can get the
JDK 1.6 here or
here.
Others might find a JDK here or
here.
JOGL
Under Eclipse, follow these steps:
- Download the JOGL binaries for your platform here.
- Unzip the downloaded file
- Right click in the package area
- Select "Properties" -> "Java Build Path" -> "Libraries"
- Click on the button "Add External JARs..."
- Select the both JARs gluegen-rt.jar and jogl.jar
- Confirm and go back to the tab called "Libraries"
- Select each of them, expand their sections
- Click on the sub-section "Native library location"
- Click on the button "Edit..."
- Select the directory containing the native libraries and the JARs of JOGL and confirm
Under Netbeans, simply install the Netbeans OpenGL pack.
Otherwise, follow these steps:
Download the JOGL binaries for your platform here.
Now, I'm going to give you
a dirty (bad practice) but straightforward and simple way of installing it. Follow these steps:
- Unzip the downloaded file
- Go to the "lib" directories
- Copy the JAR files into your "jre/lib/ext" directory
- Copy the native libraries (.so files under Linux and Solaris, .jnilib under Mac, .DLL under Windows) into your "jre/lib/bin" directory under Windows or "jre/lib/i386" for others operating systems
A better practice is to add the path of the directory containing JOGL libraries into the CLASSPATH environment variable
and into the LD_LIBRARY_PATH environment variable (Linux and Solaris), into the DYLD_LIBRARY_PATH environment variable
(Mac) or into the PATH environment variable (Windows).
Subversion
You can download Subversion, a graphical user interface for it and a plugin for your favorite IDE here.
SVN can be used in command-line too.
ANT
You can download ANT here but maybe your favorite IDE already supports it. Like
SVN, it can be used both in command-line and as a plugin.
JMonkeyEngine 2.0
You can download JMonkeyEngine 2.0 here. Follow these steps
to install it (again in a dirty way):
- Go to the base directory of JME 2.0 that contains the "build.xml" file
- Launch the target "dist-all" (enter "ant dist-all" in command-line if you have no plugin)
- Copy the JAR files that have been generated in the "target" directory into your "jre/lib/ext" directory (or use a cleaner approach like I did with JOGL)
Ardor3D 0.6
You can download and configure Ardor3D 0.6 here.
Maven
You can download Maven here but maybe your favorite IDE already supports it. Like
SVN, it can be used both in command-line and as a plugin.
Install TUER
Follow these steps:
- Download the source code of TUER as explained above
- Go to the base directory of TUER that contains the "build.xml" file
- Run the "compile" target through ANT
- Run the "run-datapreprocessor" target through ANT (required for both abandoned versions)
- Wait a bit, it can last one minute
- Run the "run-jme-datapreprocessor" target through ANT (if and only if you want to use JME 2.0)
- Wait for a while, it can last several minutes
- Run the "run-game" target through ANT to run the alpha version of TUER, run the "run-jme-game" target to launch the blueprint based on JME 2.0 or run the "run-tuer" target to launch the blueprint based on Ardor3D 0.6
TUER requires less than 32 MB (the latest version may require more than 64 MB) but some programs used to precompute its data require 1 GB and even 2 GB. Do not try to build the game
from the source code if your computer does not have enough RAM.