Log inGet started
World

Apex Raceway: Race Tracks, Laps and AI Rivals Kit

Branchmain
Branchesmain
Commit068099240e

README.md

RaceHud

The racing HUD for the local player. It draws only on this machine, from synced race state, so every player sees the same positions: a big race position, the lap counter with lap times, a live standings list, the held item (with a touch button on phones that fires it), and banners for WRONG WAY, FINAL LAP and the finish. MatchFlow draws the traffic-light countdown and the results screen.

It goes on any entity of a scene that has a RaceDirector; Racing.race puts it on the race entity. It finds the local player's kart through the registry (the Racer whose Vehicle this peer drives) and reads standings from the RaceDirector.

Fields

  • look: one of six HUD families, swapped with this one field: broadcast (dark TV graphics, yellow accents), scifi (glass panels, thin glowing cyan frames, glowing readouts), cartoon (cream speech-bubble panels, thick ink outlines, Comic Neue lettering, drop shadows), pixel (square 8-bit boxes, thick white frames, hard step shadows, blocky monospace lettering), minimal (light and plain) or neon (glowing magenta and cyan).
  • showStandings: shows the live standings list.
  • scale: size multiplier.

It has no public methods.