Does your game have a map? Generate its regions using this Delaunay GDScript plugin.

Last Updategithub|hiulit|Delaunator-GDScript|master
Authorhiulit and more
Supported Versions3.2

Features

Installation

Import the repository in your project.

Usage

Find the examples in the Examples folder.

const Delaunator = preload("res://Delaunator.gd")
var points = PoolVector2Array([
Vector2(0, 0), Vector2(1024, 0), Vector2(1024, 600)
])
var delaunay = Delaunator.new(points)
print(delaunay.triangles)

License

MIT

Extra

Nothing yet. If you want to recommend a tutorial resource for this, use the suggestions page.