Result: fill the soul gauge cell by cell #27

Merged
Yonokid merged 2 commits from GanYiZhong/YataiDONNijiiro:result-gauge-cells into main 2026-09-11 03:54:26 +02:00
Collaborator

The result gauge stepped in the engine's 87 display units (8.4 px each at the board's 0.7), so the fill crept across the 50-cell / 21 px groove instead of lighting one cell at a time.

  • Fill target converted to cells: floor(points * 50 / max), the same rounding as the game HUD.
  • One cell per 7 frames (the cabinet's kGageSpeed_ out of kMaxGage_ = 50), so a full bar still takes 350 frames.
  • Norma cap at cell 30 / 35 / 40 (easy / normal+hard / oni), rainbow and 魂 fire at cell 50.
  • The fill pieces (1p_bar, 2p_bar, bar_clear_top/bottom/transition) now use the HUD's one-cell-wide art, anchored on the groove's grid.

🤖 Generated with Claude Code

The result gauge stepped in the engine's 87 display units (8.4 px each at the board's 0.7), so the fill crept across the 50-cell / 21 px groove instead of lighting one cell at a time. - Fill target converted to cells: `floor(points * 50 / max)`, the same rounding as the game HUD. - One cell per 7 frames (the cabinet's `kGageSpeed_` out of `kMaxGage_ = 50`), so a full bar still takes 350 frames. - Norma cap at cell 30 / 35 / 40 (easy / normal+hard / oni), rainbow and 魂 fire at cell 50. - The fill pieces (`1p_bar`, `2p_bar`, `bar_clear_top/bottom/transition`) now use the HUD's one-cell-wide art, anchored on the groove's grid. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
GanYiZhong added 1 commit 2026-09-11 03:37:48 +02:00
The result gauge stepped in 87 engine units of 8.4 px, so the fill crept
across the 50-cell / 21 px groove instead of lighting one cell at a time.
Convert the fill target to cells (points * 50 / max, floored like the game
HUD), step one cell per 7 frames (kGageSpeed_), place the norma at cell
30 / 35 / 40, and give the fill pieces the HUD's one-cell-wide art on the
groove's grid.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Yonokid added 1 commit 2026-09-11 03:54:23 +02:00
Yonokid merged commit c3f197352a into main 2026-09-11 03:54:26 +02:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Yonokid/YataiDONNijiiro#27