https://github.com/rodzill4/godot-procedural3d
A Godot addon to generate procedural 3d scenes (such as dungeons) from modular assets
https://github.com/rodzill4/godot-procedural3d
Last synced: about 1 year ago
JSON representation
A Godot addon to generate procedural 3d scenes (such as dungeons) from modular assets
- Host: GitHub
- URL: https://github.com/rodzill4/godot-procedural3d
- Owner: RodZill4
- License: mit
- Created: 2019-01-01T11:46:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T21:02:03.000Z (over 7 years ago)
- Last Synced: 2025-02-14T00:15:21.921Z (over 1 year ago)
- Language: GDScript
- Size: 3.79 MB
- Stars: 67
- Watchers: 9
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
* https://opengameart.org/content/modular-dungeon-2-3d-models
* https://opengameart.org/content/animated-human-low-poly