Couple audio fixes

- sneaky spirits laugh
- tram n pauline new sounds and panning
This commit is contained in:
saladplainzone 2024-01-11 21:42:15 -08:00
parent 5563bb54aa
commit 79f133bde7
13 changed files with 91 additions and 3 deletions

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: a6958febf3350d14d8eebd377dd4c438
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 84121b7baccb6cc44a05dbe309a21d6a
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7bb9720921657bf49b8c6a652b1d8f17
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 0a55377ed38696f48b7481de72e6a20a
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View file

@ -375,7 +375,7 @@ namespace HeavenStudio.Games
new BeatAction.Action(caller.startBeat + caller.timer + 1f, delegate { new BeatAction.Action(caller.startBeat + caller.timer + 1f, delegate {
if (GameManager.instance.currentGame == "sneakySpirits") if (GameManager.instance.currentGame == "sneakySpirits")
{ {
SoundByte.PlayOneShotGame("sneakySpirits/laugh", -1, 1.2f); SoundByte.PlayOneShotGame("sneakySpirits/laugh", -1, 1f);
spawnedGhost.GetComponent<Animator>().DoScaledAnimationAsync("GhostLaugh", 0.25f); spawnedGhost.GetComponent<Animator>().DoScaledAnimationAsync("GhostLaugh", 0.25f);
} }
}), }),

View file

@ -280,14 +280,14 @@ namespace HeavenStudio.Games
private void TramJump(double beat, bool audienceReact) private void TramJump(double beat, bool audienceReact)
{ {
SoundByte.PlayOneShotGame("tramAndPauline/jump" + UnityEngine.Random.Range(1, 3)); SoundByte.PlayOneShotGame("tramAndPauline/jumpL" + UnityEngine.Random.Range(1, 3));
tram.Jump(beat); tram.Jump(beat);
ScheduleInput(beat, 1, InputAction_Left, audienceReact ? TramJustAudience : TramJust, Empty, Empty); ScheduleInput(beat, 1, InputAction_Left, audienceReact ? TramJustAudience : TramJust, Empty, Empty);
} }
private void PaulineJump(double beat, bool audienceReact) private void PaulineJump(double beat, bool audienceReact)
{ {
SoundByte.PlayOneShotGame("tramAndPauline/jump" + UnityEngine.Random.Range(1, 3)); SoundByte.PlayOneShotGame("tramAndPauline/jumpR" + UnityEngine.Random.Range(1, 3));
pauline.Jump(beat); pauline.Jump(beat);
ScheduleInput(beat, 1, InputAction_Right, audienceReact ? PaulineJustAudience : PaulineJust, Empty, Empty); ScheduleInput(beat, 1, InputAction_Right, audienceReact ? PaulineJustAudience : PaulineJust, Empty, Empty);
} }