Skip to content

cameraFor beta ​

Function of @v12-engine/engine

ts
export declare function cameraFor(world: World, player: PlayerId, order: CameraOrder): void;

The rules say something of one player's camera: on their screen alone, the same moment of the game each time. cameraFor(world, 1, { pan: { x: 40, z: 60, seconds: 2 }, shake: { strength: 0.5 } })