No description
  • C 98.8%
  • Makefile 0.7%
  • CMake 0.3%
  • GLSL 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-08-10 16:59:04 +02:00
desktop Removed some obvious text and reference to school project 2023-08-10 16:59:04 +02:00
docs Move all OpenGL files to desktop folder 2023-04-03 18:58:38 +02:00
wii Add work in progress wii thingy 2023-04-03 19:35:48 +02:00
.editorconfig Add first buggy thingy 2021-01-03 20:46:16 +01:00
LICENSE Add first buggy thingy 2021-01-03 20:46:16 +01:00
README.md Removed some obvious text and reference to school project 2023-08-10 16:59:04 +02:00

PlaatCraft

A modern OpenGL Minecraft like game

Screenshot

PlaatCraft screenshot

Dependencies

  • GLFW3 (extern)
  • SQLite3 (extern)
  • Glad OpenGL loader (included)
  • stb_image (included)
  • stb_truetype (included)
  • Tiny C Thread (included)

Build instructions

Linux (Ubuntu)

  1. Install dependencies:

    sudo apt install build-essential cmake libglfw3-dev libsqlite3-dev
    
  2. Generate MakeFile via CMake:

    cd desktop && mkdir build && cd build && cmake ..
    
  3. Build the project:

    make -j$(nproc)
    

macOS

  1. Install dependencies:

    brew install cmake glfw sqlite
    
  2. Generate MakeFile via CMake:

    cd desktop && mkdir build && cd build && cmake ..
    
  3. Build the project:

    make -j$(sysctl -n hw.ncpu)
    

Windows

  1. Install MSYS2

  2. Install dependencies:

    pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-glfw mingw-w64-x86_64-sqlite3
    
  3. Generate MakeFile via CMake:

    cd desktop && mkdir build && cd build && cmake -G "MinGW Makefiles" ..
    
  4. Build the project:

    mingw32-make -j$(nproc)