Files
windroost/p2_godot_sample/artifacts/vfx_test.json
T
wushenghua f6b47299f6 feat: add pooled floating damage numbers
The HUD contract lists FloatingNumber as a required component, but damage was
only visible as a shrinking health bar. The scene now measures HP deltas from
the authoritative sim and spawns a capped, pooled label that drifts up and
fades. Large hits use a larger, warmer label so the manual payoff reads at a
glance. Low power caps the pool lower; the cap is enforced in code and the
count is covered by the VFX test.

tools/run_p2_checks.sh still runs 16 gates; all pass.
2026-11-17 03:01:35 +08:00

72 lines
1.2 KiB
JSON

{
"kind": "windroost_vfx_test",
"overall": "PASS",
"problems": [],
"schema": 1,
"steps": [
{
"effect": "hit_light",
"finished": true,
"frames": 4,
"last_frame": 3,
"low_power": false,
"step": "sheet"
},
{
"effect": "hit_light",
"finished": true,
"frames": 4,
"last_frame": 3,
"low_power": true,
"step": "sheet"
},
{
"effect": "shield_break",
"finished": true,
"frames": 6,
"last_frame": 5,
"low_power": false,
"step": "sheet"
},
{
"effect": "shield_break",
"finished": true,
"frames": 6,
"last_frame": 5,
"low_power": true,
"step": "sheet"
},
{
"effect": "ultimate_burst",
"finished": true,
"frames": 8,
"last_frame": 7,
"low_power": false,
"step": "sheet"
},
{
"effect": "ultimate_burst",
"finished": true,
"frames": 8,
"last_frame": 7,
"low_power": true,
"step": "sheet"
},
{
"event_count": 9,
"floating_numbers": 1,
"scenario": "P3A-N10-MANUAL",
"spawned_effects": [
"shield_break",
"hit_light",
"hit_light",
"shield_break",
"ultimate_burst",
"shield_break",
"hit_light"
],
"step": "event_mapping"
}
],
"style": "pixel_sheet_nearest"
}