F-05

Adaptive Music

The game only reports its state (exploring, fighting, a boss, low health). The music answers with layers over one chip track: drums come in for a fight, a tense pulse line for low health, the boss gets its own track. Every change waits until the state has held for a moment, lands on the next bar line, and never overlaps the previous one.

EXPLORE LOW HP
-
-
1bar
1beat
120bpm

The game reports its state

Each step the scene calls update({active, combat, boss, hp}) and nothing else. A fight that flickers for a few frames is ignored; a fight that holds 0.5 s brings the drums in on the next bar with an alarm stinger; calming down waits 3 s.