From 5cd52d8cfcc040a5b0e3206d93c3b5403a3dd4e5 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 8 Nov 2021 14:35:54 +0000 Subject: [PATCH] Add 'The Procedural Generator' --- The-Procedural-Generator.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 The-Procedural-Generator.md diff --git a/The-Procedural-Generator.md b/The-Procedural-Generator.md new file mode 100644 index 0000000..5a5af73 --- /dev/null +++ b/The-Procedural-Generator.md @@ -0,0 +1,19 @@ +# The Level Generator +Just use https://github.com/BenPyton/ProceduralDungeon. It's better. + +## Legacy Generator rundown: + +1. Spawn Phase + 1. Create a preset room with walls and 4 doorways. Needs to be square. + 1. Populate with corner variations + 1. Define 4 “Exit” markers at each Door, those have the doors parented. + 1. Define Spawn Markers for spawns, bookshelves, hazards, and obstacles + 1. Create different materials for each sublevel +1. Generator Rundown + 1. Generate the base Room + 1. Generate interior + 1. Generate the Corners + 1. Generate Item Displays, depositing areas OR hiding places + 1. Generate the Bookshelves + 1. Check the room list if adjacent rooms are existing + 1. Generate Doors according to how many Doors are calculated in the room \ No newline at end of file