Skip to content

harmjs/unity-polygon-map-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

unity-polygon-map-generator

Summary

A Untiy Demo for a procedural polygonal map generator.

Generated Map

Inspired by Amit Patel's guide to polygonal map generation. Uses Triangle.Net for Delauny triangulations, and Gregory Schlomoff's implementation a Poisson-disc sampling for initial vertex positions. Uses triangle centroids for corners.

Using Sebastian Lague's implementation of Perlin Noise, each face is provided a value from 0 to 1, with a threshold value determining whether or not each face becomes a wall.

Generator Inspector

For another time

  • Add additional was of generation corners (circumcenter, incenter, random);
  • Add connected rooms, enemies, loot.

About

A procedural polygonal map generator built in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages