finds.dev← search

// the find

AsPJT/DungeonTemplateLibrary

★ 1,438 · C++ · BSL-1.0 · updated Apr 2025

🌏: Dungeon free resources (terrain & roguelike generation)

A header-only C++ library (C++11/14/17) for procedural terrain and dungeon generation. Covers a wide range of algorithms — Perlin noise, diamond-square, cellular automaton, Voronoi, roguelike room placement — all operating on 2D/3D matrices you provide. Primarily aimed at game developers using Unity or Unreal who want to drop in generation primitives without pulling in a full engine plugin.

Header-only with no mandatory dependencies — include DTL.hpp and you're done. Algorithm breadth is genuinely impressive: maze digging, fractal islands, Voronoi, roguelike BSP-style room gen, and 3D cuboid variants all in one library. Unity and UE4/5 integration examples ship in the repo with working demo scenes, not just 'it should work' instructions. BSL-1.0 license is about as permissive as it gets — no attribution required in binary distributions.

Development has effectively stalled: last push April 2025 but meaningful commits look much older, roadmap wiki hasn't moved in years, and the project is still at 0.4.x. The API is template-heavy to the point of opacity — finding the right class for a given algorithm requires digging through ~80 header files with no overview doc. Seeding and reproducibility story is thin; the random engine is XorShift128 but controlling seeds across composited generators is awkward. No package manager support (no vcpkg port, no Conan recipe), so integration into a modern CMake project means a manual FetchContent or submodule.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →