A simple Minecraft-like game written in Rust and OpenGL. Runs on desktop Linux & Android.
This project was written in Rust and requires the Rust toolchain (available at rustup.rs). The desktop version requires GLFW. After setting up the required dependencies, the desktop app can be built and run as follows:
git clone [email protected]:WillFarris/voxel-game.git
cd voxel-game
cargo run --release --features=desktop
See WillFarris/VoxelGameAndroid for the Android Studio project. The code can be compiled to a .so file for use on Android as seen below. Requires Python and wget.
git clone [email protected]:WillFarris/voxel-game.git
git clone [email protected]:WillFarris/VoxelGameAndroid $HOME/AndroidStudioProjects/
cd voxel-game
./link_android.py $HOME/AndroidStudioProjects/VoxelGameAndroid
Then build VoxelGameAndroid
in Android Studio.
So far there isn't much to do in the game besides walk around. Features so far include:
- Simple 3D engine
- Infinite terrain
The following are roughly planned for the future:
- Deferred rendering pipeline + postprocessing effects
- Proper inventory system + the ability to break and collect blocks (WIP)
- Simple AI/mobs
- Persistent storage for worlds
- Better shaders/rendering pipeline