torqueValley.package
This package holds more than this page lists. See all of its files in its world.
README.md
ValleyGame
The Torque Valley game layer, and only glue: it wires installed kits together and holds no game
logic of its own. On the host it spawns the AI field (synced torqueCars cars, each with an AiDriver
personality and an EngineVoice) along the country loop. On every peer, for its own player: the
navUiKit minimap with valley landmarks, the controlsKit racing scheme (touch and gamepad), a
gaugeClusters dash, juiceKit crash shake scaled by impact speed, soundstage music, and driver
progression from driveProgress — a DriverProgress component added to the same entity with the
valley's four challenges (150 km/h on the west straight, a 4 s drift, 1.5 s of air in the stunt park,
60 km/h into the crash wall), a barsKit XP bar and damage bar, and toasts. Put it on one scene
entity. Fields: aiCount, music, gaugeStyle, progressStyle (arcade, career, stunt, drift,
zen; switches live). Methods: progress() (the driver's progression), driver() (the
DriverProgress component).