Plokie / Voxel_Miner

A WIP C++ DX11 Minecraft clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Voxel Miner

A C++ DX11 Minecraft clone

Info

This was originally started as university project, but I kept working on it and decided to make the code public. There's probably some iffy code in places but I'm overall pretty happy with it!

(P.S. The entire lighting system is old and bad and doesn't work, it's overdue a complete remake. Try to ignore it for now :p)

Todo / Roadmap

You can see the roadmap at https://trello.com/b/w3MwgsMt/programming

Building

Building is only intended on Windows, Visual Studio (I used Visual Studio 2022) The only dependency required is DirectXTK

  • Download DXTK from https://github.com/microsoft/DirectXTK

  • Place folder at ../../ from the repo , ( the path should look like :

     ====/source/repos/VoxelMiner/ *[this is the repo]*
     ====/source/repos/
     ====/source/DirectXTK/ *[DirectXTKs root should be here]*
    

    Alternatively, change the Visual studio project properties to your desired location, but that could be messy

  • Build Desktop_2022_Win10\x64 Debug and Release. This should place it in ../../DirectXTK/bin/x64/*

  • Load the VoxelMiner Visual studio project and build either x64 Debug or x64 Release

Packaging build as clean exe

To package the .exe and its necessary data into a single clean folder

  • Build Release x64 in Visual Studio
  • Run clean_build.bat
  • Find the clean build in the folder Build/

Credits

License

Under the GPL-2.0 license. Info can be seen at https://github.com/Plokie/dx11-voxel/blob/master/LICENSE Of course, read the license properly, but the keys are to not reapply a new license (and so must be open), and link back here as the source.

<3

About

A WIP C++ DX11 Minecraft clone

License:GNU General Public License v2.0


Languages

Language:C 72.4%Language:C++ 27.2%Language:HLSL 0.3%Language:Batchfile 0.0%