Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

jeffwmair/Drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drive

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.

Basic Prerequisites

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

Installation

# 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

Operation

Car Control

  • left mouse - hold to accelerate
  • right mouse - hold to brake
  • mouse pointer left/right movement to steer
  • 1 - open/close the hood

Camera Control

  • 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

Pictures

Quick screenshots of the current progress. Alt text Alt text Alt text

Render from Blender: Alt text

The original (my baby): Alt text

About

3D Driving Game/Simulation in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages