Skip to content

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 ​

ManagerWhere it is explainedMade
GameHostGame hostThe main scene
TransitionManagerGame hostAt start-up
UIManagerGame host, PopupsAt start-up
ChronoManagerPooling, World configsAt start-up
AudioManagerPooling, AssetsAt start-up
FactionManagerBehaviorsAt start-up
SettingsManagerGame settingsAt start-up
InputManagerGame settingsAt start-up
PartyManagerEntitiesAt start-up
WorldContainerWorldAt start-up
CombatManagerAbilities & Effects, the hit pipelineAt start-up
VFXManagerPoolingFirst game
EventManagerEvents & QuestsFirst 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 ​

ClassWhat it is
DebugMenuFactoryFactory for creating and initializing the debug menu dynamically at runtime
GameHostGAME ROOT GLOBAL
TransitionManagerTransitionManager - Clean state machine for game state transitions Handles three primary states: MainMenu, CharacterCreation, MainGame Manages world persistence, system cleanup, and loading orchestration
UIManagerManages UI layers, scene transitions, and overlay systems.

Managers ​

ClassWhat it is
AudioManagerCentralized audio system managing music, ambience, and sound effects with pooled players and phased initialization for fast startup.
AudioPreloadWalks 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).
ChatCommandsWhat the player types in the chat box.
ChatListenersTurns 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.
ChatManagerThe message manager: everything the game wants to tell the player goes through here.
ChronoManagerCentralized timer pool and game time management system.
DynamicMusicPlayerPlays a Dynamic Music.
FactionManagerFactionManager - 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
SfxCacheThe loaded gameplay sounds (abilities, footsteps, voices), taken out of AudioManager.
SfxPlayerPoolThe 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.
SoundLayersWho 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 ​

ClassWhat it is
SaveLoadUtilSaveLoadUtil - 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 ​

ClassWhat it is
AssetThumbnailsThe 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.
DurabilityThe durability of worn equipment: how it is given, how it wears, how it breaks and how it is repaired.
InputEventTextThe text of an input event for the screen: "Q", "Ctrl 2", "LMB", "Mouse 4", "Joy A".
InstanceUtilityUtility script to help item/ability creation anywhere.
InterfaceOverviewWhat 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).
MountSavesPuts the rides back after a game is loaded.
PlayerUtilityHolds the player that is in control now (a static variable): get_current_player and set_current_player.
RangeQueryUtilRangeQueryUtil is a global system providing various helper functions for game logic, particularly focusing on spatial queries and entity relationships within the game world.
SceneStateReaderReads the nodes of a PackedScene from its saved state, without making the nodes.
SpeechAudioThe 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.
SpeechDeliveryDelivers 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.
SpeechLanguageThe languages of the game world (Common, Orcish, Elvish): a language is a proficiency with levels, so the understanding of it grows.
ViewDistanceThe 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 ​

ClassWhat it is
CombatEventOne record of something that happened in a fight: a hit, a heal, an effect gained, a death, a cast.
CombatEventRecorderBuilds 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).
CombatLogManagerCombatLogManager now receives comprehensive reports from CombatSystem
CombatSessionCombatSession manages a single active combat encounter at runtime.

Cutscenes ​

ClassWhat it is
InGameCutScenePlayerInGameCutScenePlayer is a simple base class for in-game cutscenes that use AnimationPlayer.