Skip to content

indicator

Anthony Samms edited this page Jun 2, 2026 · 1 revision

Indicator draws the drum-input prompt shown on the entry screen for each player slot. It has four states that change which text and drum graphics are displayed.

State

Value Description
SKIP No action required (slot not active)
SIDE Prompting the player to choose a side
SELECT Player has joined; prompting for a don hit to confirm
WAIT Player has confirmed; waiting for the other player
Currently only WAIT is implemented.

Indicator

Indicator(State state);

Constructs the indicator for the given state. Retrieves fade and move animations from global_tex (IDs 6, 7, 8) and creates an OutlinedText label from SC::INDICATOR_TEXT in the configured language.

Update and Draw

void update(double current_ms);

Advances the don-fade, blue-arrow-move, and blue-arrow-fade animations.

void draw(float x, float y, float fade = 1.0f);

Draws the background, state-indexed text sprite, and drum face graphic at (x, y). In the SELECT state, additionally draws animated kat graphics, a second drum face, a don graphic, and pulsing blue arrows on both sides.

Clone this wiki locally