Managers: how they are built ​
The managers are the objects that live for the whole session and that the rest of the game talks to. They are made once by the GameHost at start-up and kept together in a SystemHub, which almost every class receives instead of reaching for a global. This page is the list of them with a pointer to where each is explained; the pages after it are the class reference.
Read Architecture for the whole picture and Game host for how they are made and how the game moves between states.
The managers ​
| Manager | Where it is explained | Made |
|---|---|---|
GameHost | Game host | The main scene |
TransitionManager | Game host | At start-up |
UIManager | Game host, Popups | At start-up |
ChronoManager | Pooling, World configs | At start-up |
AudioManager | Pooling, Assets | At start-up |
FactionManager | Behaviors | At start-up |
SettingsManager | Game settings | At start-up |
InputManager | Game settings | At start-up |
PartyManager | Entities | At start-up |
WorldContainer | World | At start-up |
CombatManager | Abilities & Effects, the hit pipeline | At start-up |
VFXManager | Pooling | First game |
EventManager | Events & Quests | First game |
Static helpers ​
Not managers, but used the same way from anywhere: the Database and the asset libraries (Asset databases); InstanceUtility (makes ability, effect and item instances); PlayerUtility (the player in control); RangeQueryUtil (who is within range); SaveLoadUtil (Save and load); CollisionLayerUtility.
The classes ​
Game host ​
| Class | What it is |
|---|---|
| DebugMenuFactory | Factory for creating and initializing the debug menu dynamically at runtime |
| GameHost | GAME ROOT GLOBAL |
| TransitionManager | TransitionManager - Clean state machine for game state transitions Handles three primary states: MainMenu, CharacterCreation, MainGame Manages world persistence, system cleanup, and loading orchestration |
| UIManager | Manages UI layers, scene transitions, and overlay systems. |
Managers ​
| Class | What it is |
|---|---|
| AudioManager | Centralized audio system managing music, ambience, and sound effects with pooled players and phased initialization for fast startup. |
| AudioPreload | Walks a world for every track it can need and gives their paths, so the AudioManager asks for them when the world loads (and the sources that start later find them ready). |
| ChatCommands | What the player types in the chat box. |
| ChatListeners | Turns what happens in the game into messages: it listens to the signals that exist already (a level up, an item received, a quest accepted ...) and posts a line to the right channel of the message manager, so no system has to know about the chat. |
| ChatManager | The message manager: everything the game wants to tell the player goes through here. |
| ChronoManager | Centralized timer pool and game time management system. |
| DynamicMusicPlayer | Plays a Dynamic Music. |
| FactionManager | FactionManager - Global singleton that orchestrates faction relationships Delegates logic to FactionDefinition instances and handles synchronization between factions Each faction manages its own runtime reputation; manager ensures both sides stay in sync |
| SfxCache | The loaded gameplay sounds (abilities, footsteps, voices), taken out of AudioManager. |
| SfxPlayerPool | The pools of players of the sound effects, taken out of AudioManager: 3D players for sounds at a place (hits, footsteps, voices), 2D players for sounds from nowhere and a few players of the interface bus. |
| SoundLayers | Who decides what music and ambience play: layers lie one over the other, and the highest layer that has something for a channel wins, for music and for ambience on their own: WORLD (what the world says) < ZONE (the place the party is in) < WEATHER (the weather that is on) < SHELTER (the shelter the camera is in, the rain on its roof) < ENCOUNTER (the fight the party is in, combat music only) < EVENT (an event that plays a track) < MENU (the music of a menu: the main menu, character creation, the loading screen, the pause menu; Gameplay Config > Audio). |
Save and load ​
| Class | What it is |
|---|---|
| SaveLoadUtil | SaveLoadUtil - Manages saving and loading game state to/from JSON files Coordinates with SystemHub to gather and restore state from all game systems Uses dependency-aware loading order to ensure entities exist before effects/AI states |
Utilities ​
| Class | What it is |
|---|---|
| AssetThumbnails | The pictures of the files of an Assets library (meshes, scenes), kept as PNG files in a folder of their own (named by a hash of the path of the file) and in memory. |
| Durability | The durability of worn equipment: how it is given, how it wears, how it breaks and how it is repaired. |
| InputEventText | The text of an input event for the screen: "Q", "Ctrl 2", "LMB", "Mouse 4", "Joy A". |
| InstanceUtility | Utility script to help item/ability creation anywhere. |
| InterfaceOverview | What the in-game interface scene holds, read from the scene without running it: the HUD elements, the interaction panels and the UI panels, with the panel key number of each panel and the problems with them (two panels with one key, a panel with a key and no name, a node in a container that is not of the class the interface needs). |
| MountSaves | Puts the rides back after a game is loaded. |
| PlayerUtility | Holds the player that is in control now (a static variable): get_current_player and set_current_player. |
| RangeQueryUtil | RangeQueryUtil is a global system providing various helper functions for game logic, particularly focusing on spatial queries and entity relationships within the game world. |
| SceneStateReader | Reads the nodes of a PackedScene from its saved state, without making the nodes. |
| SpeechAudio | The one way to speak a sound: a voice line of a conversation, a Speak interaction, a quest, a Say line, the Play Voice Line event action. |
| SpeechDelivery | Delivers a line (SpeechLine) or an emote of the library (EmoteDefinition): the speaker plays the animation and the sound, and the players who are in the audience read the line in the chat. |
| SpeechLanguage | The languages of the game world (Common, Orcish, Elvish): a language is a proficiency with levels, so the understanding of it grows. |
| ViewDistance | The View distance setting of the player (Game Settings > Quality), as a number everything that has a distance of its own can use: the terrain, foliage and props that hide at a distance, the distance the AI of NPCs gets simpler at (when the Gameplay Config says it follows). |
Combat sessions ​
| Class | What it is |
|---|---|
| CombatEvent | One record of something that happened in a fight: a hit, a heal, an effect gained, a death, a cast. |
| CombatEventRecorder | Builds the combat events of the game, once each, and sends them to the two places that want them: the combat session (the record of the fight) and the message manager (lines in the combat channels). |
| CombatLogManager | CombatLogManager now receives comprehensive reports from CombatSystem |
| CombatSession | CombatSession manages a single active combat encounter at runtime. |
Cutscenes ​
| Class | What it is |
|---|---|
| InGameCutScenePlayer | InGameCutScenePlayer is a simple base class for in-game cutscenes that use AnimationPlayer. |