A simple FPS game that uses LWJGL. It is a Java rewrite of FPS_test from C++. It is distributed under the GNU GPL v3.
System requirements:
- Java 1.7 (JRE and JDK)
- The latest version of LWJGL version 2 (not version 3). LWJGL 2.9.3 is included.
- Your computer must support OpenGL.
Install the latest Java from Oracle's website. Go in the KillBox master directory (which has GridLevelMaker and license.txt), then in the "KillBox" directory. Copy the files from the "src" directory into the current directory.
Compile using:
javac *.java -cp res/lwjgl.jar:res/lwjgl_util.jar
Launch the game using:
java -cp res/lwjgl.jar:res/lwjgl_util.jar:. -Djava.library.path="./res" Game
Alternatively, use the script compile-and-run.sh
that's located in the res
folder.
- Go to your "KillBox" directory which contains "res" and "src".
- Copy the files from "src" into the current directory.
- Copy the files (not the folders) from the "res" directory into the current directory.
- Run the batch file named "compile-and-run.bat".
- If it doesn't work, make sure that "java" and "javac" are in your PATH, then try step 4 again.