-
Notifications
You must be signed in to change notification settings - Fork 6
lane_hit_effect
Anthony Samms edited this page Jun 2, 2026
·
1 revision
A LaneHitEffect is a brief flash displayed in the note lane at the judgment zone each time a note is hit. It conveys the note colour (DON/KAT) and the judgment quality (GOOD/OK/BAD). Owned by player as optional<LaneHitEffect> and replaced on each new hit.
LaneHitEffect(DrumType type, Judgments judgment);| Parameter | Description |
|---|---|
type |
DON or KAT; controls the flash colour |
judgment |
GOOD, OK, or BAD; controls opacity |
Starts fade immediately.
| Member | Type | Description |
|---|---|---|
type |
DrumType |
Selects DON or KAT flash texture |
judgment |
Judgments |
Used to pick the correct flash intensity or texture |
fade |
FadeAnimation* |
Controls opacity over the effect's lifetime |
void update(double current_ms);Advances fade.
void draw(float y);Draws the lane flash texture at the judgment zone position, offset by y in 2P mode.
bool is_finished() const;Returns true when fade has completed.
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