Skip to content

About

FakeMinecraft is a personal project trying to recreate Minecraft's core features with additional characteristics such as dynamic lighting and shadows, reflections and more.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

62 Commits

Folders and files

Repository files navigation

Fake Minecraft

A 3D voxel-based game inspired by Minecraft, rendered with Vulkan on top of SDL2. This project aims to recreate the core features of Minecraft, including terrain generation, block placement, and more, while allowing for experimentation with custom mechanics and optimizations.

Features

  • Voxel Terrain: Infinite terrain generation using procedural algorithms.
  • Block Placement & Destruction: Players can interact with the environment by placing and removing blocks.
  • 25 Biomes: oceans, rivers, beaches, plains, forests, taiga, snowy biomes, desert, savanna, badlands, swamp, jungle and mountain peaks, on continuous terrain with no cliffs at biome borders.
  • Vulkan Renderer: dynamic shadows, water reflections, 4x MSAA with FXAA, and a day/night cycle.
  • Distant Terrain: the world is visible out to ~16 km (Minecraft render distance 1028). Blocky low-detail terrain fills in beyond the real chunks and fades into the sky.

Tech

The tools bellow were used to create my game:

  • [C++] - Visual Studio Tools? 🤔
  • [Math] - Read a book or something? 🤔
  • [Tears] 😭

Installation (Windows x64 Exclusively)

  • CMake 3.20+ and a MinGW-w64 GCC toolchain (CLion's bundled MinGW works). MSVC is not supported.
  • The Vulkan SDK with VULKAN_SDK set (the installer does this). It provides the headers, the loader library and glslc.
  • A GPU with Vulkan 1.3.
cmake -S . -B cmake-build-release-mingw -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build-release-mingw

The game lands in build/game/CPP_GAME.exe (run it from that folder). A Debug build enables the Vulkan validation layer; in Release set FAKEMC_VALIDATION=1 to turn it on.

Dunno i just use CLion and you should too. Fuck Visual Studio...

Credits

License

MIT Free Software, Hell Yeah!

About

FakeMinecraft is a personal project trying to recreate Minecraft's core features with additional characteristics such as dynamic lighting and shadows, reflections and more.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages