Continues the MVP work from the UI and numbers baseline. Animation. The frame runs were already in the repository but had never been packed for runtime use. pack_animation_strip.py now derives one shared scale and one shared foot line from the union of every frame in a state, so the character does not jitter between frames; H01 idle/attack, EG01 idle/hit and B01 idle/hit are packed as transparent fixed-grid atlases. UnitView plays them with the node origin on the foot line, loops idle, plays hit once and falls back, and flashes on damage. Content-to-art bindings live in the content fixture, so no character id is hardcoded in the HUD. Touch. The previous HUD used gui_input callbacks, which is not proof of a mobile input path. run_touch_test.sh now feeds InputEventScreenTouch through Input.parse_input_event and checks that taps on the tap toggle, an enemy card and the storm button produce the right events on the right tick. It also caught a real bug: Godot emulates mouse presses from touches, so one tap was firing both handlers; enemy taps are now debounced. Economy. The paper model had the reward and upgrade curves but the runtime only subtracted gold from a balance that was always zero. The scene now owns permanent progress: victory grants the reward from the shared rules, upgrades cost a growing amount, hero DPS rises per level, and the next battle is created with the upgraded roster DPS. run_economy_loop_test.sh proves four N01 clears pay for the first upgrade and that duplicate grants and losses behave correctly. The economy pacing was left at four wins rather than weakening it to satisfy the test. tools/run_p2_checks.sh now runs 11 gates; all pass. PRODUCTION/38 records P2-IMP-02/03 and P2-BAT-02 as PASS. Remaining P2 holds: profiler/visual limit, shield-break and ultimate VFX, real-device safe area and performance.
106 lines
2.0 KiB
JSON
106 lines
2.0 KiB
JSON
{
|
|
"schema": 1,
|
|
"purpose": "Frozen P3a/P2 content fixture; full launch content remains in the launch data pack",
|
|
"heroes": [
|
|
{
|
|
"id": "H01",
|
|
"signature": "break",
|
|
"base_atk": 10,
|
|
"base_spd": 90,
|
|
"base_dps": 8,
|
|
"unlock_node_id": "R1-C01-N01",
|
|
"art_id": "H01"
|
|
},
|
|
{
|
|
"id": "H02",
|
|
"signature": "single",
|
|
"base_atk": 14,
|
|
"base_spd": 110,
|
|
"base_dps": 12,
|
|
"unlock_node_id": "R1-C01-N01",
|
|
"art_id": "H02"
|
|
},
|
|
{
|
|
"id": "H04",
|
|
"signature": "click",
|
|
"base_atk": 11,
|
|
"base_spd": 100,
|
|
"base_dps": 9,
|
|
"unlock_node_id": "R1-C01-N02",
|
|
"art_id": "H04"
|
|
}
|
|
],
|
|
"enemies": [
|
|
{
|
|
"id": "E-R1-F1-V1",
|
|
"kind": "normal",
|
|
"hp_mult": 0.8,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"weak_tag": "aoe",
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F3-V1",
|
|
"kind": "elite",
|
|
"hp_mult": 2.0,
|
|
"armor": 3,
|
|
"shield_max": 60,
|
|
"weak_tag": "break",
|
|
"art_id": "EG01"
|
|
}
|
|
],
|
|
"validation_pressure_enemies": [
|
|
{
|
|
"id": "E-R1-F4-V1",
|
|
"kind": "elite_support",
|
|
"hp_mult": 1.0,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"weak_tag": "sustain",
|
|
"art_id": "EG01"
|
|
}
|
|
],
|
|
"bosses": [
|
|
{
|
|
"id": "B-R1-01",
|
|
"hp": 1500,
|
|
"armor": 5,
|
|
"shield_max": 200,
|
|
"timer_sec": 30,
|
|
"phase_ids": [
|
|
"B-R1-01-P1",
|
|
"B-R1-01-P2"
|
|
],
|
|
"art_id": "B01"
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"id": "R1-C01-N01",
|
|
"node_type": "normal",
|
|
"wave_ids": [
|
|
"W-R1-C01-N01-01"
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N01"
|
|
},
|
|
{
|
|
"id": "R1-C01-N03",
|
|
"node_type": "elite",
|
|
"wave_ids": [
|
|
"W-R1-C01-N03-01",
|
|
"W-R1-C01-N03-02"
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N03"
|
|
},
|
|
{
|
|
"id": "R1-C01-N10",
|
|
"node_type": "boss",
|
|
"wave_ids": [
|
|
"B-R1-01"
|
|
],
|
|
"reward_id": "DROP-R1-BOSS-01"
|
|
}
|
|
]
|
|
}
|