An open API service indexing awesome lists of open source software.

https://github.com/totase/level-generation

⛰️ A few simple level generators made for Unity
https://github.com/totase/level-generation

csharp csharp-script gamedev roguelike roguelike-game unity unity2d

Last synced: about 1 month ago
JSON representation

⛰️ A few simple level generators made for Unity

Awesome Lists containing this project

README

          

# ⛰️ Level generation

A collection of level generators I've played around with in different projects, made for Unity.

## 📋 Contents

### [Spelunky generator](./Assets/Scripts/Spelunky)

A simple level generator inspired by the level generation of [Spelunky](https://spelunkyworld.com/original.html). It generates a number of rooms based on a grid size, made up of x rows and y columns.

### [Drunkard's Walk](./Assets/Scripts/DrunkardsWalk)

A level generator using a random walk algorithm, inspired by [this algorithm](https://poppants.itch.io/the-drunkard-walk) found on itch.io. It generates rooms/corridors in random directions based on the input size.

### [Room generator](./Assets/Scripts/RoomGenerator/)

Procedurally generates rooms in a grid-based layout with connecting corridors. It generates rooms in random directions based on the input sizes and supports main path rooms and optional side rooms.

### [Floor generator](./Assets/Scripts/FloorGenerator/)

Generates a floor with a room in each corner and additional rooms between them, connected with doors and a hallway.

### Unity version

Project was made with Unity version 2022.3.22f1

## Liscense

The MIT License.