Posted April 04, 2025 by eboot
#devlog #level_generation #rng
Since my last devlog, room generation has evolved drastically, now featuring several new room types. As before, the room generator uses a room count cap, along with floor presets, to generate a new level each time the game is played.
As implied in Devlog 3, normal rooms are by far the most common type of room to appear in the game. They can spawn any number of times throughout a level, and each contains four doors.
Boss rooms spawn in a group of three and are generated after every other room. These are the main way of progressing through the game, as a boss must be defeated in order to progress to the next floor.
These are unique rooms, with special or odd layouts and contents. Only one of each type of special room can spawn on each floor, but any number of unique special rooms can spawn on a floor.
These rooms contain a random item from the loot pool. A minimum of two will spawn on each floor, with one extra spawning for every ten rooms in the room cap.
These are somewhat rarer than every other type of room in the game. Only one can spawn on each floor, if even, since they are not always in the spawn pool. Each lore room contains a piece of information written or recorded by someone who was inside the Construct at any given time. These are the main form of storytelling inside the game.
Most rooms are likely to contain enemies, attempting to stop you from going any further. Once you enter a room with enemies, you're trapped inside until either (A) they're dead, or (B) you are.
Rooms contain enemy spawners, which have a chance to spawn either 0, 1, 2 or 3 enemies, queued up to spawn after the previous wave is cleared. All of these random factors combine in an attempt to create a unique experience for the player each time they play through the game.
Thank you for reading. We are almost at the end of this game's development (our submission date is soon). A new build should be out in the next week, however, this will not be the final one.
- Eoghan (Sound Implementation, Project Lead and Room Code)