Owner feedback: too few visible animations, button rows feel list-like, battle
actions unclear, and tapping a bottom tab silently left the fight.
- Battle manual actions now have icons and three distinct weights: sword =
repeated hit (brass primary), bolt = storm (quiet), fireball = ultimate
(purple special). A "tight" icon-button mode keeps all three plus dynamic
cooldown/energy text inside the 358px row (verified by geometry probe).
- Added an always-visible flagged "退出战斗" button in the battle header; the
stage hint now reads "tap enemy to retarget / buttons below to act".
- Leaving battle via any tab shows a shell-level toast "已离开战斗 · 前往 X"
so the player knows the fight ended and where they landed.
- Game feel: idle sprites have a 6fps floor (authored 4-frame/3fps idle read as
frozen), damage numbers get a short overshoot-and-settle pop, and manual-hit
shake trauma doubled (still small tier). All respect reduced motion/low power.
- New regression assertions: labeled exit button + exit toast; 108 gates pass.
Normal-render capture inspected at 390x844 zh_CN. agent_visual_reviewed only;
owner must confirm on device whether the motion level now feels right.
Owner device feedback:
1) Battle top bar sat under the status bar / Dynamic Island. Root cause:
BattleHud.set_safe_area() was never called by anyone, so its layout rect
used zero insets. Wired it through BattleScene.set_safe_area() from the
shell's already-computed _safe_top/_safe_bottom, both at battle presentation
and on viewport/safe-area change. Test injects 59/34 insets and asserts the
HUD's resource bar global top equals the inset.
2) Top-right gear and pause rendered as empty boxes: "⚙" and "⏸" are absent
from the bundled CJK font. Replaced with a gear ICON + "设置" label and a
"暂停"/"Pause" label; target marker "▼" replaced with a known-good "◆".
refresh_static_text now keeps these labels localized.
3) Shell bottom nav was completely off-screen (pos.y=844 on an 844-tall
viewport): PRESET_BOTTOM_WIDE left offset_top=0, so minimum-size growth
pushed it below the screen. Pin both offsets explicitly (76px bar above the
home indicator) and grow the page host to match. The first tab also showed
"[hud.nav.map]" (missing key) -- mapped it to hud.nav.expedition.
Four tabs now visible on every non-battle page and use the same labels and
destinations as the battle nav, so page relationships are consistent.
108 gates pass; normal-render captures inspected for battle/skyport/map.
agent_visual_reviewed -- owner must confirm on device.
Owner approved the hierarchy/icons direction and asked for every page to be
converted. The first commit only changed skyport/growth; other pages still
used the old gold nine-slice frames.
- UiTheme.build_theme: global PanelContainer/Panel and Button normal/pressed/
hover/disabled are now flat dark sharp-edged styles (brass reserved for the
primary action + selected tab). make_panel() switched from frame_style() to
the flat dark box (its own override was bypassing the global theme).
- UiTheme.tab_style(selected): flat brass/dark tab state. Replaced every
explicit FRAME_TAB/FRAME_TAB_SELECTED/FRAME_PANEL override across world
regions/chapters, side tabs, loadout hero tabs, map node actions and battle
HUD nav. Battle hero cards use a flat card box instead of FRAME_TILE.
- ui_scroll_layout_test now asserts global Button and panel styles are
StyleBoxFlat so the gold frames cannot silently return.
Inspected normal-render captures: map, world, side, settings, skyport, growth
and battle at 390x844 zh_CN all read consistently; 108 gates pass.
agent_visual_reviewed only -- owner still needs to confirm on device.
Owner device feedback after seeing parchment skin:
- Lists could not scroll when the finger started on a button/frame; only blank
areas scrolled. Root cause: buttons/panels defaulted to MOUSE_FILTER_STOP and
swallowed drags. make_button/make_panel/glass_panel now use MOUSE_FILTER_PASS
(still tappable, but drags bubble to the parent ScrollContainer).
- Header pushed ~quarter screen down: safe area subtracted window_get_position()
(Godot 4 get_display_safe_area() is already in window coords). Now uses the
rect directly and clamps insets to sane bounds (top<=96, bottom<=64).
- Growth page talent buttons overflowed: 4-in-a-row HBox squeezed labels. Now a
2-column GridContainer with wider buttons; star button widened to 150px;
buttons get an 8px content margin so text no longer touches the frame.
- Battle top-right had no text: the timer Label was created empty and never
assigned. Added an always-on info label (enemy count / boss name) and populate
the countdown text when a timer is visible.
- New ui_scroll_layout_test gate asserts button/panel PASS filters, 2-col grid,
and non-empty battle top-right info. 108 gates pass.
Owner must re-verify on device; these are automated_verified, not human_reviewed.