All Projects → RodZill4 → godot-procedural3d

RodZill4 / godot-procedural3d

Licence: MIT license
A Godot addon to generate procedural 3d scenes (such as dungeons) from modular assets

Programming Languages

GDScript
375 projects
tcl
693 projects

godot-procedural3d

This Godot addon provides tools to generate procedural 3d scenes (such as dungeons) from modular assets.

The addon itself defines the following scripts:

  • modular_room.gd: a script that is used to define connectable and configurable rooms
  • modular_room_exit.gd: a script that is used to define the exits of rooms. When building a dungeon, exits help defining the rooms positions and orientations. Exits must be direct children of the room scene.
  • modular_room_object.gd: A script that is used to define the location of objects (that could be doors, traps, treasures, enemy spawns, ...) in a room. Configuring a room consists in choosing an object for each object location in the room.
  • generator.gd: a script that defines a scene generator. It must have a "rooms" child whose children are the available rooms, and an "objects" child whose children are the objects categories whose children are the objects scenes.

The demo

The demo shows all available features.

To generate a dungeon, open the test.tscn scene, and select the DungeonGenerator node. The 3d view toolbar will show 3 buttons:

  • Generate will start generating a dungeon (or continue a previously stopped generation).
  • Stop will stop generation.
  • Clean will delete the generation result.

The demo uses the following assets:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].