-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsounds.py
More file actions
57 lines (40 loc) · 1.85 KB
/
sounds.py
File metadata and controls
57 lines (40 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import pygame
# Castle hit
castle_hit = pygame.mixer.Sound('soundEffects/CrowdCryOut.wav')
castle_hit.set_volume(.5)
# Tower build/sell
build_tower_sound = pygame.mixer.Sound('soundEffects/TowerConstruct.wav')
build_tower_sound.set_volume(0.2)
sell_tower_sound = pygame.mixer.Sound('soundEffects/TowerSell.wav')
sell_tower_sound.set_volume(1)
# Mage
mage_spell_sound = pygame.mixer.Sound('soundEffects/MageSpell.wav')
mage_spell_sound.set_volume(0.75)
grumbling_sound = pygame.mixer.Sound('soundEffects/OldManGrumbling2.wav')
mage_spell_sound.set_volume(1)
# Deaths
spider_death_sound = pygame.mixer.Sound('soundEffects/Deaths/SpiderDeath.wav')
spider_death_sound.set_volume(0.9)
wolf_death_sound = pygame.mixer.Sound('soundEffects/Deaths/WolfDeath.wav')
wolf_death_sound.set_volume(0.7)
turtle_death_sound = pygame.mixer.Sound('soundEffects/Deaths/TurtleDeath.wav')
turtle_death_sound.set_volume(1)
dragon_death_sound = pygame.mixer.Sound('soundEffects/Deaths/DragonDeath.wav')
dragon_death_sound.set_volume(.9)
orc_death_sound = pygame.mixer.Sound('soundEffects/Deaths/OrcDeath.wav')
orc_death_sound.set_volume(0.7)
lizard_death_sound = pygame.mixer.Sound('soundEffects/Deaths/LizardDeath.wav')
lizard_death_sound.set_volume(0.7)
# Tower shots
tower_shoot_sound = pygame.mixer.Sound('soundEffects/TowerShots/Shooting.wav')
tower_shoot_sound.set_volume(.2)
basic_hit_sound = pygame.mixer.Sound('soundEffects/TowerShots/Basic.wav')
basic_hit_sound.set_volume(.5)
ice_hit_sound = pygame.mixer.Sound('soundEffects/TowerShots/Ice.wav')
ice_hit_sound.set_volume(.6)
fire_hit_sound = pygame.mixer.Sound('soundEffects/TowerShots/Fire.wav')
fire_hit_sound.set_volume(.75)
poison_hit_sound = pygame.mixer.Sound('soundEffects/TowerShots/Poison.wav')
poison_hit_sound.set_volume(.4)
dark_hit_sound = pygame.mixer.Sound('soundEffects/TowerShots/Dark.wav')
dark_hit_sound.set_volume(.6)