Crinemaft is a 3D voxel game inspired by Minecraft and written in C++ using OpenGL / GLFW.
- Open a terminal and type this in:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
This installs Homebrew. - Navigate to the directory you want to have your game folder in and type these
commands:
brew install git
(Install Git)brew install glfw
(Install GLFW)brew install cmake
(Install CMake)- Follow "common build instructions" below.
The Linux build is successful but I have been informed that the build process is
risky and unsuitable for normal use. If you want to try yourself, do:
sudo apt-get build-dep glfw3
(an error message may pop up, the risky and
unsuitable part is our fix for above). Finish by following the common build
instructions at the bottom of the page.
- Install vcpkg.
- In a command prompt window, run
vcpkg install glfw3
. - Install cmake.
- Install git.
- Follow from "common build instructions".
- Navigate to the directory you want to have your game folder in and type thes
commands:
git clone https://github.com/adamhutchings/crinemaft
(Create a crinemaft folder with the game source)cd crinemaft
(Navigate to the folder)./scripts/build.sh
(Build the project)./scripts/run.sh
(Run the project)
When running the game a second time, you only need to run the last command to play the game again (but make sure to navigate to the right directory first).