Test with the editor my  procedural generation algorithm, made in C# in Unity.

The original game that uses it is Deep Beneath.

Algorithm process:

  1. Random positions in 2D hexagon grid.
  2. 3D Hexagonal Caves instantiation, walls cutting.
  3. Graph creation based on hexs (nodes).
  4. Edges creation (tunnels) based on walls normals and checking intersections.
  5. Breadth First Search to check if the level is explorable.
  6. Tunnels instantiation according to edges.
  7. Props instantiation.
  8. Rocks instantiation using Poisson-Disc Sampling algorithm.
  9. Falling Path creation (slightly different algorithm).

3D assets by Pol Blanes & Adrià Fret.

You can download the project on GitHub.

StatusCanceled
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorGuillem Serra
GenreSimulation
Tags3D, Generator, Level Editor, Procedural Generation, Top-Down

Comments

Log in with itch.io to leave a comment.

Iwas so excited to find a true 3D cave generator, but unity is throwing a .js error that the db couldn't be written to...

Hi Prophet, sorry for that, it's an old project. I've updated it into 2021.3.15f1 could you try again? Let me know!

This is really nice! Can you add "export to obj" please?

(+1)

thanks a lot! Unfortunately I'm not working on this anymore, I'm not planning to add more features in the future