Chris' Tutorials
Docs/Calendar Time

Class

TimeSignalBus

Generated GDScript class reference for CalendarTime.TimeSignalBus.

StatusCurrent
Versionv2.0
UpdatedGenerated from GDScript addon source
Source note:This page rendered plugin-owned docs or generated metadata inside unified Astro docs shell.

Source: addons/calendar_time/game_time/state/time_signal_bus.gd

Syntax

class TimeSignalBus extends Resource

Members

NameKindSummary
clock_state_loadedEventEmitted after a saved state is loaded onto the active state of this clock. Pairs with `clock_speed_changed` for per-clock scoping (renamed from the 1.x `state_loaded` so the bus signal and its owner share the same prefix).
game_seconds_advancedEventEmitted whenever the clock's game-time microsecond count advances. The `amount` is the just-advanced delta in game-seconds; `total` is the new canonical `game_seconds()` value. Renamed from the 1.x `time_elapsed` to make the unit (game seconds, not engine seconds) explicit at the call site.
clock_speed_changedEventEmitted when this clock's runtime speed multiplier changes. Scoped to the owning `GameClock` — multiple clocks in the same game (per-scene, per-system, per-save-slot) each have their own bus, so observers see only the clock they are bound to. Crossing zero is a normal value (it means "pause" for any consumer that gates on `speed_multiplier > 0.0`); resume is just another positive value. Emitted from the `GameClock.speed_multiplier` setter — only fires on actual change.
event_day_startedEventEmitted when a new event day starts.
day_finishedEventEmitted at the end of a game day.
date_time_changedEventEmitted when the date time is set to a new value.
date_changedEventEmitted when the date changes.
time_of_day_changedEventEmitted when the current TimeOfDay changes.
day_night_transition_progress_changedEventEmitted when a new day/night transition progress is set. Renamed from the 1.x `transition_progress_changed` to scope it explicitly: only `DayNightCycleService` emits this. If a future enhancement needs a separate transition channel, give that service its own bus rather than reusing this signal with a different meaning.

Source

addons/calendar_time/game_time/state/time_signal_bus.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs