sound cues for buttons

This commit is contained in:
minjaesong
2024-04-01 03:15:57 +09:00
parent f72ed0f706
commit 576e868996
23 changed files with 193 additions and 41 deletions

View File

@@ -255,7 +255,7 @@ object PickaxeCore {
val pan = 1.3 * relX / distFallOff
val vol = MixerTrackProcessor.getVolFun(dist / distFallOff).coerceAtLeast(0.0)
if (!tooltipWasShown && tooltipSet) {
INGAME.playGUIsound(soundCue, 0.25 * vol, pan.toFloat())
App.playGUIsound(soundCue, 0.18 * vol, pan.toFloat())
}
true // just a placeholder