Karateka, Fireworks
Karateka: Adds more pot break sounds Fireworks: Launch adjsustment
This commit is contained in:
parent
dbf86f4d2e
commit
11c003ca7a
BIN
Assets/Resources/Sfx/games/karateman/alienBreak.wav
Normal file
BIN
Assets/Resources/Sfx/games/karateman/alienBreak.wav
Normal file
Binary file not shown.
22
Assets/Resources/Sfx/games/karateman/alienBreak.wav.meta
Normal file
22
Assets/Resources/Sfx/games/karateman/alienBreak.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 08f2db20287301941aa070db146a5573
|
||||||
|
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:
|
BIN
Assets/Resources/Sfx/games/karateman/cookingPotBreak.wav
Normal file
BIN
Assets/Resources/Sfx/games/karateman/cookingPotBreak.wav
Normal file
Binary file not shown.
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8550c31f523be5c429b8d8532e11bd93
|
||||||
|
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:
|
BIN
Assets/Resources/Sfx/games/karateman/tacobellBreak.wav
Normal file
BIN
Assets/Resources/Sfx/games/karateman/tacobellBreak.wav
Normal file
Binary file not shown.
22
Assets/Resources/Sfx/games/karateman/tacobellBreak.wav.meta
Normal file
22
Assets/Resources/Sfx/games/karateman/tacobellBreak.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 103d51d4c2c19c149b95be314f39b47a
|
||||||
|
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:
|
|
@ -17,7 +17,7 @@ namespace HeavenStudio.Games.Loaders
|
||||||
defaultLength = 4f,
|
defaultLength = 4f,
|
||||||
parameters = new List<Param>()
|
parameters = new List<Param>()
|
||||||
{
|
{
|
||||||
new Param("type", false, "Firework Type", "Choose a firework")
|
new Param("type", Fireworks.FireworkType.Normal, "Firework Type", "Choose a firework")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -37,6 +37,13 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public static Fireworks instance;
|
public static Fireworks instance;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
|
public enum FireworkType
|
||||||
|
{
|
||||||
|
Normal,
|
||||||
|
Quick,
|
||||||
|
TamakoBomb
|
||||||
|
}
|
||||||
|
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
|
@ -459,12 +459,20 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
||||||
Jukebox.PlayOneShotGame("karateman/lightbulbBreak", volume: 0.65f);
|
Jukebox.PlayOneShotGame("karateman/lightbulbBreak", volume: 0.65f);
|
||||||
break;
|
break;
|
||||||
case ItemType.Rock:
|
case ItemType.Rock:
|
||||||
case ItemType.TacoBell:
|
|
||||||
Jukebox.PlayOneShotGame("karateman/rockBreak", volume: 0.75f);
|
Jukebox.PlayOneShotGame("karateman/rockBreak", volume: 0.75f);
|
||||||
break;
|
break;
|
||||||
case ItemType.Ball:
|
case ItemType.Ball:
|
||||||
Jukebox.PlayOneShotGame("karateman/soccerBreak", volume: 0.75f);
|
Jukebox.PlayOneShotGame("karateman/soccerBreak", volume: 0.75f);
|
||||||
break;
|
break;
|
||||||
|
case ItemType.Cooking:
|
||||||
|
Jukebox.PlayOneShotGame("karateman/cookingPotBreak", volume: 0.5f);
|
||||||
|
break;
|
||||||
|
case ItemType.Alien:
|
||||||
|
Jukebox.PlayOneShotGame("karateman/alienBreak");
|
||||||
|
break;
|
||||||
|
case ItemType.TacoBell:
|
||||||
|
Jukebox.PlayOneShotGame("karateman/tacobellBreak");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -735,6 +743,8 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
||||||
case ItemType.Rock:
|
case ItemType.Rock:
|
||||||
case ItemType.Bulb:
|
case ItemType.Bulb:
|
||||||
case ItemType.Ball:
|
case ItemType.Ball:
|
||||||
|
case ItemType.Cooking:
|
||||||
|
case ItemType.Alien:
|
||||||
case ItemType.TacoBell:
|
case ItemType.TacoBell:
|
||||||
return true;
|
return true;
|
||||||
default: // bombs have their own way of breaking
|
default: // bombs have their own way of breaking
|
||||||
|
|
Loading…
Reference in a new issue