Bola na Rede: Arcade Football
README.md
fx.quality
The graphics quality of Bola na Rede: high, medium or low, and the frame-time controllers that keep a live match smooth.
- The player's Graphics setting (
ui.settingskeygraphics:auto | high | medium | low) goes throughchoose(setting). - On Auto, the first seconds of a live match are measured; the level steps down while the frame misses its target with the render scale at its floor, and the level found is saved per device (player store
bolanarede/quality/<platform_gpu>). Phones and touch screens start on Medium, desktops on High. - A level is applied as one set:
renderer.setQualityTier, floodlight shadows (2 / 1 / 0), contact shadows (off on Low), crowd density (1 / 0.75 / 0.5), and the fx low path (Medium, Low, every browser). - During a live match the render scale walks between the level's floor (0.7 / 0.6 / 0.5) and 1 to hold the target (16.7 ms, 16.7 ms, 33.3 ms): dynamic resolution.
arena.ArenaFx calls tick() every frame and listens with onChange. status() reports level, scale and smoothed frame ms. set(level | nil) forces a level from code (tests).