2023-10-24 09:21:43 +03:00
2023-08-02 08:34:06 +00:00
2022-03-12 23:14:45 +03:00
2023-08-02 05:44:09 +03:00
2023-09-19 23:25:17 +03:00
2023-08-02 05:44:09 +03:00
2023-08-02 05:44:09 +03:00
2023-10-24 09:18:36 +03:00
2023-08-02 12:59:52 +03:00

Run in windows with compiled executable file:

EXE for windows
MinGW libraries (include & lib) + glew32.dll

Controls:

  • Tab - toggle camera control
  • W,A,S,D - movement
  • Space - jump
  • LMB - remove block
  • RMB - place block
  • F - toggle flight mode
  • Esc - exit

Run in linux:

$ git clone https://github.com/MihailRis/VoxelEngine-Cpp.git

$ cd VoxelEngine-Cpp/Debug

$ make

$ ./voxel_engine

Build with CMake

git clone --recursive https://github.com/MihailRis/VoxelEngine-Cpp.git
cd VoxelEngine-Cpp
mkdir build
cd build
cmake ../
cmake --build .

Instal libs:

Debian-based distro:

$ sudo apt install libglfw3-dev libglfw3 libglew-dev libglm-dev libpng-dev libopenal-dev

RHEL-based distro:

$ sudo dnf install glfw-devel glfw glew-devel glm-devel libpng-devel openal-devel

Arch-based distro:

If you use X11 $ sudo pacman -S glfw-x11 glew glm libpng openal

If you use Wayland $ sudo pacman -S glfw-wayland glew glm libpng openal

Note for MinGW compiling:

To fix problem with #include <mingw.thread.h> get headers mingw.thread.h and mingw.invoke.h from: https://github.com/meganz/mingw-std-threads

Description
No description provided
Readme 47 MiB
2025-12-08 22:39:27 +00:00
Languages
C++ 84.1%
Lua 10%
C 4.2%
GLSL 1.2%
CMake 0.3%