-
Notifications
You must be signed in to change notification settings - Fork 6
neiro
NeiroSelector is a panel that lets the player choose a hit sound (neiro) before starting a song. It appears on the song_select screen when the player selects the Neiro tile in the difficulty selector.
NeiroSelector(PlayerNum player_num);Scans the configured neiro sound folder for available sounds, initialises selected_sound to the player's current saved setting, and loads the skin animations.
| Member | Type | Description |
|---|---|---|
is_finished |
bool |
true once the exit animation has completed |
is_confirmed |
bool |
true after the player confirms a selection |
move |
MoveAnimation* |
The panel's slide-in / slide-out animation, driven externally by SongSelectPlayer
|
void update(double current_ms);Advances all animations. Sets is_finished when the exit animation completes after confirmation.
void left();
void right();Cycle selected_sound through the available sounds list and start the sideways slide animation. Plays the newly selected sound immediately so the player can preview it.
void confirm();Saves the selected sound to the player's persistent settings and starts the exit animation. Sets is_confirmed.
void draw();Draws the selector panel: sound name text (with the slide animation applied), blue navigation arrows, and the panel background texture.
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