Files
iron-arc/app/test/goldens/aiming.png
T
SoftwareApp fb85915418 art: new ingame renderer (sky, parallax, terrain, tanks, effects)
- lib/src/game/art.dart draws the scene with canvas primitives: dusk sky with a
camera-relative sun, three parallax ridges (far = lighter), soil with rim
light and irregular rocks, tanks with hull/turret/barrel/tracks and a
health bar in team colour, comet trail, impact with fireball/ring/sparks and
a dotted aim hint.
- Flutter tokens come from the generated palette, so app UI and artwork match.
- performance was part of the job: the first version ran at 31-40 % jank. An
A/B against the old renderer (0-6.5 %) proved it was the new scene, then the
causes were removed one by one: full-screen radial vignette (now edge bands),
per-ridge gradient shaders and per-frame paints (flat fills, cached paints),
two clipped gradient rects under the surface, terrain redrawn every frame (now
a ui.Picture per terrain version) and mask-filter blurs.
- result on the Redmi Note 10: 60.0 fps, 0.0-0.8 % jank.
- goldens regenerated and reviewed; store screenshots re-captured and renamed
to match their content (01 gameplay, 02 projectile, 03 crater, 04 settings).
- docs/art-direction.md: phase 2 section with the performance table.
2026-10-25 02:59:20 +01:00

313 KiB
1260x2520px