-
Notifications
You must be signed in to change notification settings - Fork 6
combo_announce
Anthony Samms edited this page Jun 2, 2026
·
1 revision
A ComboAnnounce plays a voiced audio announcement and a brief on-screen graphic when the player reaches a combo milestone. Typical milestones are 100, 300, 500, 1000, etc. Owned by player as optional<ComboAnnounce>.
ComboAnnounce(int combo, double current_ms, PlayerNum player_num);| Parameter | Description |
|---|---|
combo |
The combo milestone that triggered this announcement |
current_ms |
Current song timestamp; used to compute the display duration |
player_num |
Which player; selects the correct voice audio file |
| Member | Type | Description |
|---|---|---|
player_num |
PlayerNum |
Player identity; used to choose the voice clip |
combo |
int |
The milestone value being announced |
wait |
double |
Timestamp after which the voice audio is played |
fade |
FadeAnimation* |
Controls the visibility of the on-screen graphic |
audio_played |
bool |
Set to true once the voice clip has been triggered |
is_finished |
bool |
Set to true when fade completes; signals removal to Player |
void update(double current_ms);Advances fade. When current_ms >= wait and audio_played is false, plays the voice audio and sets audio_played = true. Sets is_finished = true when fade completes.
void draw(float y);Draws the combo milestone graphic at the configured position, offset by y for 2P.
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