Skip to content

dan_transition

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

DanTransition plays a slide animation when the player confirms a Dan challenge selection on the song_select screen, transitioning visually into the Dan gameplay screen.

DanTransition

DanTransition();

Retrieves the slide_in animation from the skin.

Methods

void start();

Triggers the slide-in animation and sets started = true. Called by the song_select scene once the player confirms the Dan selection.

void update(double current_ms);

Advances the slide_in animation.

void draw();

Draws the transition overlay at the current animation position.

bool is_started();

Returns true after start() has been called.

bool is_finished();

Returns true when the slide_in animation has completed. The song_select scene uses this to know when to return Screens::GAME.

Clone this wiki locally