Skip to content

D3r3k23/DrkCraft

Repository files navigation

$$$$$$$\            $$\        $$$$$$\                       $$$$$$\    $$
$$  __$$\           $$ |      $$  __$$\                     $$  __$$\   $$ |
$$ |  $$ | $$$$$$\  $$ |  $$\ $$ /  \__| $$$$$$\   $$$$$$\  $$ /  \__|$$$$$$
$$ |  $$ |$$  __$$\ $$ | $$  |$$ |      $$  __$$\  \____$$\ $$$$\     \_$$  _|
$$ |  $$ |$$ |  \__|$$$$$$  / $$ |      $$ |  \__| $$$$$$$ |$$  _|      $$ |
$$ |  $$ |$$ |      $$  _$$<  $$ |  $$\ $$ |      $$  __$$ |$$ |        $$ |$$\
$$$$$$$  |$$ |      $$ | \$$\ \$$$$$$  |$$ |      \$$$$$$$ |$$ |        \$$$$  |
\_______/ \__|      \__|  \__| \______/ \__|       \_______|\__|         \____/

GitHub release Build Lines of code GitHub issues GitHub

Game

Minecraft-based game in C++ created using an OpenGL renderer

  • Minecraft2??

Videos

Youtube

Gallery

gallery

Worlds

worlds

Manual

manual.md

Development

Directory structure

directory.md

Install prerequisites and clone repository

  1. $ sudo apt install xorg-dev (Debian/Ubuntu/Linux Mint)
  2. $ git clone --recursive https://github.com/D3r3k23/DrkCraft DrkCraft
  3. $ cd DrkCraft

Python Tools

Setup Python environment

  • $ source scripts/setup.sh (Linux)
  • $ scripts\setup.bat (Windows)

Usage

python -m drkcraft [-h] [-v] cmd [-h] [cmd options]

Build

(.venv) $ python -m drkcraft build

  • With no options specified, defaults to a Debug build with profiling and dev mode enabled

Run

(.venv) $ python -m drkcraft run

View other commands

(.venv) $ python -m drkcraft --help

View command options

(.venv) $ python -m drkcraft CMD --help

Or invoke CMake and run directly:

Build

  1. $ cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
  2. $ cmake --build build --config Debug

Run

  • $ build/bin/Debug/DrkCraft (Linux)
  • $ build\bin\Debug\DrkCraft.exe (Windows)

Dependencies

License