Skip to content

A voxel game engine written in C++ for education purposes

License

Notifications You must be signed in to change notification settings

OptiCraft/OptiCraft

Repository files navigation

OptiCraft

A voxel game engine written in C++ for education purposes

Building

OptiCraft does not support MinGW. Currently the build process has only been tested on Windows, with Linux support planned for the very near future.

Dependencies

  • CMake
  • Some kind of generator (e.g. Visual Studio, Ninja)
  • A C++ compiler that is NOT MinGW (MSVC, Clang)

Windows Instructions

  1. Download the development package for Visual C++ (SDL2-devel-x.xx.x-VC.zip) from the SDL releases page
  2. Extract it to somewhere on your hard drive (e.g. C:/Deps)
  3. Make an environment variable called SDL2DIR and set it to the folder that contains the cmake, docs, include, etc. directories. (e.g. C:/Deps/SDL-x.xx.x)
  4. Clone the repository
  5. Run cmake -S . -B build then cd build
  6. Run your generator (e.g. ninja) and build the project

If you run into any problems building OptiCraft, submit an issue in the issue tracker.

Credits

Icon by AQUARINTHOS

About

A voxel game engine written in C++ for education purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published