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
- Host: GitHub
- URL: https://github.com/totase/level-generation
- Owner: totase
- License: mit
- Created: 2024-04-01T18:32:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T17:51:12.000Z (about 1 year ago)
- Last Synced: 2024-12-02T18:48:14.450Z (about 1 year ago)
- Topics: csharp, csharp-script, gamedev, roguelike, roguelike-game, unity, unity2d
- Language: C#
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.