-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SFX for mod select overlay show/hide #18970
Conversation
nekodex
commented
Jul 1, 2022
•
edited by peppy
Loading
edited by peppy
- depends on Add samples for mod select overlay show/hide osu-resources#202
Two things to note with this (non-critical but maybe worth considering?):
|
Yeah, that makes sense. I guess the only thing I'd check is whether it feels off when the screen aspect ratio is wide enough such that the columns appear completely on the left.
I still consider those mod button sounds as placeholders, so feel free to swap it for something else for the time being. |
var channel = columnAppearSample?.GetChannel(); | ||
if (channel == null) return; | ||
|
||
// don't play sample if column isn't visible, but try to play it at least 5 times (assuming there's at least 5 visible columns in `columnFlow`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This conditional is a tad weird to read. To confirm, the goal is to play the sound even for off-screen columns up to a max of 5 to make the effect sound correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, the only discrepancy is that it will play 6 times with the code you have.
Actually after changing the button sound, the balance seems fine. It feels less bad without the button sound hiding the first few columns' sounds. |