Skip to content
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

Allow kiai/star-fountain activation SFX to be skinnable #32267

Merged
merged 5 commits into from
Mar 9, 2025

Conversation

nekodex
Copy link
Contributor

@nekodex nekodex commented Mar 7, 2025

  • limits playback to the Argon skins by default (and any user skins that add a fountain-shoot sample)
  • prevents sample from firing at the menu, while the game is in the background

@nekodex nekodex added the audio label Mar 7, 2025
@peppy peppy self-requested a review March 7, 2025 12:33
@@ -40,7 +48,7 @@ private void load(AudioManager audio)
},
};

sample = audio.Samples.Get(@"Gameplay/fountain-shoot");
sample = skin.GetSample(new SampleInfo(@"Gameplay/fountain-shoot"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, this either needs to use SkinnableSound or handle the ISkinSource.SouceChanged flow..

Preferably the former since everything is setup correctly for samples in that class (note that it will need to be added to the draw hierarchy to work correctly).

@peppy peppy merged commit f1c49de into ppy:master Mar 9, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants