Skip to content

Class

TimeScale

Generated GDScript class reference for CalendarTime.TimeScale.

Status
Current
Version
v2.1.0
Source updated
2026-08-09
Generated on
2026-09-01

Deprecated combined scale resource (issue #318). Kept for 2.0.x compatibility. TimeScale historically combined two concepts in one resource: the calendar unit structure (seconds per minute / hour / day) and the runtime pacing (delta_multiplier). These are now distinct types:

  • CalendarUnits — the unit structure (owned by GameCalendar). Inherited here, so a TimeScale still IS-A CalendarUnits and works everywhere the unit structure is read.
  • ClockPacing — the runtime pacing (owned by TimeHost). Existing TimeScale resources keep loading unchanged. New code should author CalendarUnits on the calendar and ClockPacing on the host. Use to_clock_pacing() to migrate the pacing half off a TimeScale.

Source: addons/calendar_time/game_time/time_units/time_scale.gd

Syntax

class TimeScale extends CalendarUnits

Members

NameKindSummary
delta_multiplierPropertyHow many times to progress the date time seconds for every second of delta time processed by the game engine. Deprecated: pacing now lives on `ClockPacing`. Retained so 2.0.x resources load; read via `to_clock_pacing()` in new code.
to_clock_pacingMethod