-
Notifications
You must be signed in to change notification settings - Fork 6
result_transition
Anthony Samms edited this page Jun 2, 2026
·
1 revision
The ResultTransition plays a brief slide animation that repositions the player's UI panel at the end of a song, preparing the layout for the result screen. Owned by game.
ResultTransition(PlayerNum player_num);Creates a MoveAnimation that slides the player UI from its gameplay position to the result position. The direction and target depend on player_num (P1 slides left, P2 right in 2P mode).
| Member | Type | Description |
|---|---|---|
is_finished |
bool |
Set to true when the slide animation completes |
is_started |
bool |
Set to true after start() is called |
player_num |
PlayerNum |
Which player this transition belongs to |
move |
MoveAnimation* |
Slide animation |
void start();Begins the slide animation. Called by GameScreen::end_song() once the song finishes.
void update(double current_ms);Advances the move animation and sets is_finished = true when it completes.
void draw();Renders the player panel at its current animated position. Called from GameScreen::draw_overlay().
Building
libs
- animation
- audio
- config
- filesystem
- global_data
- input
- logging
- ray
- scores
- screen
- script
- song_parser
- text
- texture
- video
- webcam
libs/parsers
objects
objects/game
- player
- background
- gauge
- judgment
- combo
- branch_indicator
- ending_animations
- gogo_time
- fireworks
- song_info
- transition
- result_transition
- judge_counter
- score_counter
- score_counter_animation
- balloon_counter
- drumroll_counter
- kusudama_counter
- drum_hit_effect
- lane_hit_effect
- gauge_hit_effect
- combo_announce
- note_arc
objects/global
objects/title
objects/entry
objects/settings
objects/result
objects/song_select
- player
- navigator
- box_base
- box_song
- box_folder
- neiro
- modifier
- ura_switch
- diff_sort
- search_box
- dan_transition
- genre_bg
- score_history
- song_select_script
scenes