Joyride Harbor: Drivable Cars, Boats and Aircraft Kit
README.md
controls
The driver's, pilot's and passenger's controls on keyboard, gamepad and touch, as three controlsKit schemes registered when first needed: vehiclesKit_drive (the engine's driving map: steer, throttle, brake, handbrake, boost, recover, plus get out, horn and camera; on touch a floating, proportional steering stick on the left half and pedals on the right), vehiclesKit_fly (stick, rudder, throttle up and down, boost, brakes, get out, horn, camera) and vehiclesKit_ride (get out, camera). begin(scheme) switches the local player to one, remembering what was live; finish() gives it back (or stops controlsKit so the engine's walking controls answer). read() turns the live scheme into one intent table; pressed(action) reads a button edge. Called by the Vehicle component.
Touch buttons carry short labels (Gas, Brake, Drift, Boost, Exit, Cam, Horn, Reset, Up, Down) because controlsKit shrinks a label to fit its button only down to 11 px, then clips it.