Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DTLSharp

Description

DTLSharp is a C# library for Dungeon Template Library.

The code for this library is modified from the DTLUnity project. What I've done here is removed all the references and dependencies on Unity so that DTL can be used in any .NET environment.

I have so far only tested this under .NET 6.0

Example Usage:

int size_x = 512;
int size_y = 512;
int[,] matrix = new int[size_x, size_y];

double frequency = 5.0f;
uint octaves = 7;
int maxHeight = 200;
int minHeight = 200;

new DTL.Shape.PerlinIsland(frequency: frequency, octaves, maxHeight, minHeight).Draw(matrix);

Please see the original project wikis for more in-depth documentation.

About

A .NET Implementation of DungeonTemplateLibrary

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages