Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.86 KB

README.md

File metadata and controls

59 lines (47 loc) · 1.86 KB

voxel-game

A simple voxel game written in Java.

Screenshot

Requirements

  • Java 11+
  • Git

Clone, Compile, and Run the Project

Linux Systems

  1. git clone https://github.com/SnkSynthesis/voxel-game
  2. cd voxel-game
  3. chmod +x mvnw
    • ./mvnw clean compile exec:java (Works on Linux only)
    • Create a JAR:
      1. ./mvnw clean package
      2. java -jar ./target/voxel-game-1.0.jar

MacOS Systems

  1. git clone https://github.com/SnkSynthesis/voxel-game
  2. cd voxel-game
  3. chmod +x mvnw
  4. Create a JAR:
    1. ./mvnw clean package
    2. java -XstartOnFirstThread -jar ./target/voxel-game-1.0.jar (MacOS users should pass VM option: -XstartOnFirstThread)

Windows Systems

  1. git clone https://github.com/SnkSynthesis/voxel-game
  2. cd voxel-game
    • mvnw compile exec:java
    • Create a JAR:
      1. mvnw clean package
      2. java -jar ./target/voxel-game-1.0.jar

Screenshots

View Screenshots Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

Controls

  • [W], [A], [S], [D] - Move around
  • [Move Mouse] - Look around
  • [Q] - Lock mouse to window
  • [ESC] - Unlock mouse from window
  • [Left Shift] - Move down
  • [Left Control] - Sprint (increase in movement speed)
  • [Space] - Move up
  • [T] - Toggle wireframe view