3D Driving Game/Simulation in Java
Uses J3DFW, which is a really just a wrapper around the JOGL framework to add some additional helpful abstraction.
Requires java, maven, and OpenGL support
Scripts for installation in Ubuntu, if necessary.
sudo apt-get update -y
sudo apt-get install maven -y
sudo apt-get install default-jre -y
sudo apt-get install default-jdk -y
# Requires j3dfw
git clone https://github.com/jeffwmair/j3dfw.git && cd j3dfw/ && mvn install && cd ../
git clone https://github.com/jeffwmair/Drive.git && cd Drive/ && mvn package
cd target/
java -jar Drive-1.0.jar
- left mouse - hold to accelerate
- right mouse - hold to brake
- mouse pointer left/right movement to steer
- 1 - open/close the hood
- mouse scroll wheel rotates the camera around the vehicle
- shift + mouse scroll adjusts the camera vertical angle
- CMD (mac!) + mouse scroll zooms the camera in and out