Skip to content

Peatral/Godot-Map-Generator

Repository files navigation

Godot Map Generator

Overview

This map generator roughly follows this article. I like to handle the voronoi cells as selectable regions, that is where this project is a bit different.

Progress

Currently implemented:

  1. Polygons
  2. Map representation (more or less)
  3. Islands
  4. Elevation
  5. Rivers
  6. Moisture
  7. Biomes

Todo:

  1. Noisy edges
  2. More noise
  3. Smooth biome transitions
  4. Distorted biome transitions

GDExtension

It uses a custom GDExtension addon that provides a faster C++ implementation of Poisson-Disc-Sampling and a Delaunator. Originally used GDScript implementations, this for the Delaunator and a custom one for the PDS algorithm. The move to C++ improved the speed of the generator roughly by 50%-60%.

The custom addon is located here.

Screenshots

The menu is fully translated in german and english. The menu A generated island. A selected cell is highlighted and information about that cell are displayed on the left or drawn directly over the island. An island

About

A map generator made with godot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published