Creating Minecraft in One Week with C++ and Vulkan Week 3

Now that I have a terrain generator, I can start refining the rendering systems. Day 15 Even though the terrain generator was working, it was hard to see since the tops and sides of the blocks were the same bright green color. To make the shape of the terrain easier to see, and to make … Read more Creating Minecraft in One Week with C++ and Vulkan Week 3

Creating Minecraft in One Week with C++ and Vulkan

I took a crack at recreating Minecraft in one week using a custom C++ engine and Vulkan. I was inspired by Hopson, who did the same using C++ and OpenGL. Hopson was, in turn, inspired by Shane Beck, who was inspired by Minecraft, which was inspired by Infiniminer, which was presumably inspired by real world mining.

Read moreCreating Minecraft in One Week with C++ and Vulkan

Procedurally Generated Dungeons

I’ve been playing some roguelikes recently, so I wanted to try writing my own procedural dungeon generator. There are a lot of different ways to approach this problem, but I eventually decided to base mine off of TinyKeep’s algorithm, described here. I extended the algorithm to work in 3D, to create dungeons with multiple floors.

The code for this example available in this Github repo. I’m using Unity3D for this demonstration, but these concepts are, of course, usable in any game engine.

Read moreProcedurally Generated Dungeons