Standardise music volume
authorNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 15:22:39 +0000 (17:22 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 15:22:48 +0000 (17:22 +0200)
naja/scenes/lose.py
naja/scenes/win.py

index 8dea59a788ebb303bd688049e1e40437a9324450..714eaf6f8aa5c7a6fc4d635b16bd53d1657f362d 100644 (file)
@@ -42,7 +42,7 @@ class LoseScene(Scene):
             colour='white', padding=1, border=1,
             bg_colour='black', border_colour='black',
             box_width=300))
-        sound.play_music('lost.ogg')
+        sound.play_music('lost.ogg', 0.25)
 
     def handle_scene_event(self, ev):
         from naja.scenes.menu import MenuScene
index 59efdb917c37b63a19db3f205279e274c52eac0f..82437d04860a38e90f150607b052a1b2c7a98053 100644 (file)
@@ -38,7 +38,7 @@ class WinScene(Scene):
             colour=PALETTE.WHITE, padding=1, border=1,
             bg_colour=PALETTE.BLACK, border_colour=PALETTE.BLACK,
             box_width=300))
-        sound.play_music('A_ninja.ogg')
+        sound.play_music('A_ninja.ogg', 0.25)
 
     def handle_scene_event(self, ev):
         from naja.scenes.menu import MenuScene