ZeroNights
Master game component for **Five Nights at Zeros 4** — an original, Zero-themed audio-driven survival-horror homage.
ZeroNights
Master game component for Five Nights at Zeros 4 — an original, Zero-themed audio-driven survival-horror homage.
One self-contained world-component owns the whole game. On awake it code-builds
the dark bedroom (floor, walls, bed, two doors, closet) and the per-view creature
figures, then drives a static first-person camera that pivots between five
positions (left door, hall, right door, closet, bed). Each frame it runs the
cue/AI state machines for the active roster, renders the menus + HUD + directional
captions via @root::fnaz.ui, and resolves the listen / hold-door / flash-hall /
flash-closet / clear-the-bed mechanics. Survive 12 AM → 6 AM to win; any creature
reaching you is a jumpscare loss. Unlocks, stars and settings persist via the
world settings store.
Attach one instance to a single scene entity; it needs no configuration.
Scoped to this part · feeds back into the world's score.