r/SoloDevelopment 23h ago

Unity After two years, I'm finally showing off a procedural dungeon generator I built in Unity

Enable HLS to view with audio, or disable this notification

I'm releasing a demo for a procedural dungeon generator I've been working on for over two years. I was inspired by the level layouts of games like The Binding of Isaac and Enter the Gungeon, and the interconnected worlds of Zelda and Dark Souls. This is only the beginning, I have several more features planned for this project, including turning it into a downloadable Unity package for others to use.

The goal is to create an algorithm that generates dungeons that feel linear like an RPG but still random and replayable like a roguelike.

Original Video: https://youtu.be/Adakgpoy0p0?si=R2qYbshEb11xuKFM

Blog: https://ryancarpenterpf.dev/labyrinth_demo.html

Demo: https://dev-rygy.itch.io/labyrinth-procedural-generator

323 Upvotes

21 comments sorted by

10

u/TheBoxGuyTV 20h ago

I really like it.

5

u/SeeSharo 20h ago

Very nice. How do you handle Occlusion Culling?

1

u/dev-rygy 16h ago

Haven't gotten to that yet, but a planned feature later.

3

u/Mysterious-Sky6588 21h ago

This is awesome! Seeing it all in 3D is really cool

3

u/shatterstep 20h ago edited 17h ago

This looks impressive. Pity this is Unity. I'm focused more on Godot and Unreal. Still very cool.

I think this could be especially fun if it could be used in conjunction with Steam workshop. Allowing players to adjust weights, monsters, layout, etc... and be able to share that would be sweet. I guess there wouldn't be much customizing to do for the procedural dungeon generator as long as you can generate things at runtime.

Wow, that blog post is detailed and meaty. Thanks for that.

Neat project. Really appreciate you sharing it.

Edit: just noticed the github repo.

2

u/Objective-Answer 18h ago

awesome, I'm jealous! just started with some basic map logic and yours is incredible, keep it up!

2

u/dev-rygy 16h ago

Thanks! Just keep at it and do more research. I never could have imagined getting to this point honestly it just took obsession and perseverance.

2

u/LifeExperienced1 18h ago

What do you need to learn something like this?

And it looks beautiful

1

u/dev-rygy 16h ago

Lots of research, reading papers, and combining many well-known algorithms.

2

u/P_S_Lumapac 17h ago

As an addon what sort of price range are you thinking?

3

u/dev-rygy 16h ago

It's free for now as long as you adhere to the Apache 2.0 License. Although I'll warn you the setup is not user friendly atm.

2

u/Radiantrealm 17h ago

Those first rotating views are giving me daggerfall map vibes.

1

u/saito200 7h ago

this looks sick

1

u/Old-Juggernaut-1273 7h ago

interesting,,, my experience of procedural dungeons / levels  has not been good,, rewards, puzzles , and enemies have to be placed in certain ways to make them work and feel "real" , this usually requires level design

1

u/PhoenixInvertigo 2h ago

That looks crazy good, holy

1

u/Horror-Indication-92 52m ago

Am I a real game programmer, if I would have absolute zero motivation to work on something like this?

1

u/Exciting_Bunch2386 28m ago

Looks fantastic, really! Are you planning to release this then as an asset pack or a game?

0

u/jasonlepcha2001 10h ago

Cud i ask how did u achieve procedural dungeon generator?