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 byGameCalendar). Inherited here, so aTimeScalestill IS-ACalendarUnitsand works everywhere the unit structure is read.ClockPacing— the runtime pacing (owned byTimeHost). ExistingTimeScaleresources keep loading unchanged. New code should authorCalendarUnitson the calendar andClockPacingon the host. Useto_clock_pacing()to migrate the pacing half off aTimeScale.
Source: addons/calendar_time/game_time/time_units/time_scale.gd
Syntax
class TimeScale extends CalendarUnitsMembers
| Name | Kind | Summary |
|---|---|---|
delta_multiplier | Property | How 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_pacing | Method |