feat: right-stick camera orbit with inertia, subtle Tron glow on grid

- Gamepad right stick orbits the camera around the duck through a
  smoothed angular velocity (exponential ramp in, ~0.3 s coast out), so
  motion eases instead of stopping dead. Vertical is flight-style
  inverted. Any deflection detaches the chase cam; R3 toggles it back,
  mirroring the C key. New RS/R3 HUD hints, README gamepad section
  updated.
- Grid lines (floor and arena walls) get a thicker antialiased core and
  a faint wide halo for a restrained Tron look, plus slightly brighter
  line color and opacity.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
tfrere
2026-08-20 16:46:11 +02:00
parent 96f54dea82
commit 2d0c5588ed
3 changed files with 88 additions and 14 deletions
+3 -1
View File
@@ -552,6 +552,8 @@
<span class="hint"><span class="key" id="key-pad-x">X</span> roll</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-y">Y</span> ball</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-rb">RB</span><span class="key" id="key-pad-lb">LB</span> kick</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-rs">RS</span> camera</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-r3">R3</span> chase</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-sit">&dArr;</span> sit</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-run">&uArr;</span> run</span> &nbsp;
<span class="hint"><span class="key" id="key-pad-rt">RT</span> quack</span>
@@ -671,7 +673,7 @@
appended: a plain src attribute can 401 when the browser blocks the
*.static.hf.space auth cookie inside the hub iframe. -->
<script type="module">
const V = "29"; // bump on rl.js changes to defeat heuristic caching
const V = "30"; // bump on rl.js changes to defeat heuristic caching
const sign = new URLSearchParams(location.search).get("__sign");
const suffix = sign ? `&__sign=${encodeURIComponent(sign)}` : "";
import(`./rl.js?v=${V}${suffix}`);