Log inGet started
World

Torque Valley: Driving, Drift and Crash Sandbox

README.md

GaugeGallery

Draws all ten gaugeClusters styles side by side on one screen, each with its name, reading the same car, so the looks can be compared. With fakeCar on (the default) the entity it sits on becomes a pretend car (gaugeClusters.fake) driving through the gears, braking, reversing and idling, so it animates with no real car; turn it off and set car to watch a real one. Attach it to any entity; it needs no siblings.

entity.spawn("gallery").component.add("GaugeGallery")
entity.find("gallery").component.get("GaugeGallery").focus = "truck"

Fields: fakeCar, car, units, focus (one style alone, large), columns (0 = 5 on desktop, 3 on a tablet, 2 on a phone), backdrop (opaque studio background or over the world). The gallery scene in the package spawns one.