pg.mixer.music.load("Assets/Music/Overworld_Music.ogg")
pg.mixer.music.play(-1)
+ pg.mixer.music.set_volume(0.5)
+
except:
pass;
# self.test = RangedAttack((1650,1250),self.collision_layer["world"], self.collision_layer["arrow"])
landing_sound = pg.mixer.Sound("Assets/SFX/Jump_Landing.wav")
landing_sound_channel = pg.mixer.Channel(3)
potion_drink_sound = pg.mixer.Sound("Assets/SFX/Potion Drink.wav")
+
+ running_sound.set_volume(0.5)
+ sword_swing_sound.set_volume(0.5)
+ landing_sound.set_volume(0.5)
+ potion_drink_sound.set_volume(0.25)
# Enemy SFX
grunt_sound = pg.mixer.Sound("Assets/SFX/Grunt Sound.wav")
skeleton_damaged_sound = pg.mixer.Sound("Assets/SFX/Skeleton_Damaged.wav")
player_grunt = pg.mixer.Sound("Assets/SFX/Player Grunt.wav")
player_grunt_channel = pg.mixer.Channel(4)
+ grunt_sound.set_volume(0.5)
+ skeleton_damaged_sound.set_volume(0.5)
+ player_grunt.set_volume(0.5)
+
width, height = idle_frames[0].get_size()
colour = (52, 94, 235)