Squad Up: Lobby, Teams, Ready Check and Spectator Kit
README.md
spectate
The four spectator modes for players who joined mid-match: follow (over a player's shoulder, Q/E to switch), free (fly camera), overhead (high above the arena) and cycle (orbits a player and moves on every few seconds). Each puts one of the engine's own camera controllers on the player's camera and puts the original back afterwards. Spec.renderHud(mode, look, data, opts) draws the spectator HUD: see-through letterbox bars at the very top and bottom of the screen (opts.insetTop / opts.insetBottom, a phone's system bars in points, let them reach past the safe area to the real edges) and the spectating panel just above the bottom bar. The Lobby component draws it under the scoreboard. Spec.diagram draws a picture of a mode for the gallery.