4.2.2 The physical world ‐ Travel - BucketCatGames/ProjektArbeit2 GitHub Wiki
The player walks from one room to another through doors. The room arrangement is randomly decided with every run.This makes every game experience different. Once a room is entered the player will be forced to engage in combat, if the room includes enemies, or will be able to interact with objects freely otherwise. To advance to another room, sometimes a puzzle within the room has to be solved beforehand. After the player is permitted to leave to another room, the player can return to the previously entered rooms.
Only once every room has been entered, the player can advance to the next stage. Usually this means a puzzle across multiple spaces has to be solved. Once one room is left by the player through a door, the player finds themselves in another room. The doors are placed randomly and the next assigned room is random as well. However there are rooms which are mandatory part of the level and rooms which are optional. The game randomly distributes the mandatory rooms and fills the remaining spaces with the optional rooms.
There is a transition screen between rooms, which makes the transition more believable. Since with our method, the player could leave the room to the right, but then enter the next one from the right side.
The first and last room of a level are always the same.