Files
windroost/p2_godot_sample/artifacts/touch_input_test.json
T
wushenghua b430ded18d art: immersive battle layout, reward celebration, idle breathing (1-2-3)
Implemented the three improvements the owner approved after reviewing the
screenshots. Kept the visual evidence levels honest: layout/reward/breathing
behaviour is automated_verified, the style judgment is agent_visual_reviewed,
and whether it is actually appealing/comfortable stays a human gate.

1 - immersive battle layout (battle_hud.gd, ui_theme.gd): the backdrop now
   covers the full screen instead of living only inside the stage; six HUD
   regions use a translucent UiTheme.glass_panel (dark + top border) instead
   of gold frames, and the stage drops its second background and frame to
   become a transparent interaction layer. Region coordinate contract is
   UNCHANGED (REFERENCE_RECTS intact, capture matrix green at 390/360/430,
   zh/en). Fixed a real parse error found during review: Side.TOP -> SIDE_TOP.

2 - reward celebration (game_root.gd): victory now runs a dedicated row with a
   coin icon, a number rolling from 0 to gold (0.6s ease-out) and an icon pop;
   reduced motion shows the final value immediately. Body copy changed to the
   new shell.victory.celebrate key so it does not duplicate the number. The
   capture runner drives BattleScene (old path), so reward_celebration_test.gd
   drives GameRoot's external-progress path - observed +2 -> +30 roll and a
   direct +30 under reduced motion.

3 - idle breathing (unit_view.gd): the 13 single-frame characters no longer
   look static. An eased looping 2.5% sprite squash starts on idle, stops on
   non-idle, resumes on return, and is disabled/reset under reduced motion with
   _exit_tree cleanup. Hero 0.82 node scale/modulate composes with the sprite
   tween without conflict.

Added two focused gates (run_breathing_test.sh, run_reward_celebration_test.sh)
registered in run_p2_checks.sh. breathing_test proves the tween actually runs
in the real configure-before-tree path (scale 1.0004 -> 1.0086), stops on
attack, resumes on idle, and respects reduced motion. Full gate P2_CHECKS_PASS
with clean log audit. Docs 44/46 record the outcomes, evidence levels and the
still-open human/device gates. prototype/ remains untracked and untouched.
2026-11-17 23:32:38 +08:00

101 lines
1.8 KiB
JSON

{
"final_fingerprint": {
"burst_damage": 222.532,
"click_damage": 339.836,
"duration_seconds": 2.4,
"enemies": [
{
"dead": false,
"hp": 532.225,
"id": "E-R1-F3-V1#1",
"shield": 0.0
},
{
"dead": false,
"hp": 450.0,
"id": "E-R1-F4-V1#2",
"shield": 0.0
}
],
"event_count": 10,
"result": "timeout",
"shield_broken": 1,
"ticks": 25,
"ultimate_casts": 0,
"weakness_hits": 25
},
"input_method": "Input.parse_input_event(InputEventScreenTouch)",
"kind": "windroost_touch_input_test",
"overall": "PASS",
"problems": [],
"scenario": "P3A-N03-SEMI",
"schema": 1,
"seed": 10001,
"steps": [
{
"enemy": "(109.8007, 160.2774)",
"step": "targets",
"storm": "(232.0, 469.0)",
"tap": "(101.0, 469.0)"
},
{
"step": "tap_button",
"tap_active": true,
"tick": 19
},
{
"click_events": [
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 1.9,
"type": "click_enemy"
},
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 1.9,
"type": "click_enemy"
},
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 2.0,
"type": "click_enemy"
},
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 2.0,
"type": "click_enemy"
},
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 2.1,
"type": "click_enemy"
},
{
"damage": 41.242,
"target_id": "E-R1-F3-V1",
"time": 2.2,
"type": "click_enemy"
}
],
"step": "enemy_touch",
"tick": 23
},
{
"step": "storm_touch",
"storm_events": [
{
"damage": 324.076,
"target_id": "E-R1-F3-V1",
"time": 2.3,
"type": "offboard_burst"
}
],
"tick": 25
}
]
}