-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsounds.py
More file actions
44 lines (31 loc) · 1.17 KB
/
Copy pathsounds.py
File metadata and controls
44 lines (31 loc) · 1.17 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
import pygame
pygame.mixer.pre_init (44100, -16, 1, 2512)
pygame.mixer.init()
pygame.mixer.music.load ('music/steam.ogg')
footstep = pygame.mixer.Sound ('sound/foot3.ogg')
footstep.set_volume(0.4)
arr = pygame.mixer.Sound ('sound/clic.ogg')
arr.set_volume(0.3)
prints = pygame.mixer.Sound('sound/7.ogg')
#prints.set_volume(0.1)
hit = pygame.mixer.Sound('sound/hit.ogg')
flee = pygame.mixer.Sound('sound/flee.ogg')
fire = pygame.mixer.Sound('sound/fire.ogg')
light = pygame.mixer.Sound('sound/light.ogg')
pain = pygame.mixer.Sound('sound/pain.ogg')
trink = pygame.mixer.Sound('sound/trink.ogg')
barrel = pygame.mixer.Sound('sound/barrel.ogg')
barrel.set_volume(0.3)
alell = pygame.mixer.Sound('sound/allel.ogg')
bells = pygame.mixer.Sound('sound/bells.ogg')
bells.set_volume(3)
halelul = pygame.mixer.Sound('sound/level.ogg')
zomb = pygame.mixer.Sound('sound/zomb.ogg')
key = pygame.mixer.Sound('sound/key.ogg')
bell = pygame.mixer.Sound('sound/bell.ogg')
steam = pygame.mixer.Sound('sound/steam.ogg')
clic2 = pygame.mixer.Sound('sound/clic2.ogg')
clic2.set_volume(0.3)
requiem = pygame.mixer.Sound('sound/requiem.ogg')
requiem.set_volume(50)
credo = pygame.mixer.Sound('sound/credo.ogg')