ft_vox is a simple Voxel demo written in C++ using OpenGL made by baudiber and gsmith.
./setup.sh
to install external dependencies. On Mac it is advised to have brew already installed,mkdir build && cd build
, to create the build dir,- then
cmake .. && make
orcmake .. && cmake --build .
When the build is done, the executable file ft_vox
and its resources
folder should be located in the build folder.
To move them somewhere else on your system, always keep the binary and the resources folder together in the same dir.
example: cp -R ft_vox resources ~/mygamefolder/voxdemo
./ft_vox
will launch the demo with a random seed.
The seed used is always printed in the terminal.
You can also give ft_vox a seed that you like
./ft_vox your_seed
example: ./ft_vox 1603917848
On qwerty keyboard:
input | effect |
---|---|
left-click | delete cube |
w | move forward |
a | move backward |
s | move left |
d | move right |
space | move up |
ctrl | move down |
shift | sprint |
f | fullscreen mode |
esc | quit demo |