A simple voxel game written in Java.
- Java 11+
- Git
git clone https://github.com/SnkSynthesis/voxel-game
cd voxel-game
chmod +x mvnw
-
./mvnw clean compile exec:java
(Works on Linux only)- Create a JAR:
./mvnw clean package
java -jar ./target/voxel-game-1.0.jar
git clone https://github.com/SnkSynthesis/voxel-game
cd voxel-game
chmod +x mvnw
- Create a JAR:
./mvnw clean package
java -XstartOnFirstThread -jar ./target/voxel-game-1.0.jar
(MacOS users should pass VM option:-XstartOnFirstThread
)
git clone https://github.com/SnkSynthesis/voxel-game
cd voxel-game
-
mvnw compile exec:java
- Create a JAR:
mvnw clean package
java -jar ./target/voxel-game-1.0.jar
[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