FrameInfo beta
Interface of @v12-engine/client
export interface FrameInfoA frame of the game, as its phases are given it: the seconds since the last frame (dt, capped by the game's Limits.frameTime, and at least a tick of the game on the first frame, so that what the rules do as the game starts is in the first picture), and how far the frame stands between two ticks of the game (alpha: 1 where nothing ticks). The client's measure phase sets dt and its simulate phase alpha; a phase after them reads them
Members
alpha
alpha: number;How far between two ticks the frame stands, 0..1; 1 where nothing ticks
dt
dt: number;Seconds since the last frame, capped by Limits.frameTime
frozen
frozen?: boolean;The world stands still this frame (client.freeze: the pause menu): what moves in it is given no time, though dt is still the screen's. A phase of the game's that moves the world should move it by none then