Skip to content

five-on-it / packages/ai/src/photo

packages/ai/src/photo ​

What a phone's camera frames (GAME_DESIGN §20: photograph): a point is in a photo a character takes when it lies within the camera's range of the character's eyes, within the frame's half-angle of its aim (where the player points it), and nothing of the level or of the world stands in between, but the subject itself (a person, a car, a piece) or the last half metre before a point (a mural's face). The server works it out when the photo is taken, through the same physics world a shot is traced in.

Variables ​

Functions ​