Skip to content

ProcessClock

ProcessClock = "frame" | "fixed"

Defined in: Process.ts:38

Which engine clock advances a process.

  • "frame" — rendered-frame time, via ProcessSystem at Phase.Update. Right for visuals: tweens, fades, shakes.
  • "fixed" — the fixed timestep, via ProcessFixedUpdateSystem at Phase.FixedUpdate. Right for gameplay timing that must stay in step with a fixed-step simulation: ability windows, cooldowns, timers that gate physics-driven mechanics.

The clock is chosen where the process is scheduled, not on the process itself, so the same Process/Tween/Sequence types work on either clock. The scheduling sites are ProcessComponent.run/slot, ProcessSystem.add/addForScene, and the scoped queue factories.