more mould sounds
authoradrianna <adrianna.pinska@gmail.com>
Sat, 10 Sep 2016 19:54:44 +0000 (21:54 +0200)
committeradrianna <adrianna.pinska@gmail.com>
Sat, 10 Sep 2016 19:54:53 +0000 (21:54 +0200)
data/sounds/eating_chips_1.ogg [new file with mode: 0644]
data/sounds/eating_chips_2.ogg [new file with mode: 0644]
data/sounds/eating_chips_3.ogg [new file with mode: 0644]
data/sounds/rubber_toy_short1.ogg [new file with mode: 0644]
data/sounds/rubber_toy_short2.ogg [new file with mode: 0644]
data/sounds/rubber_toy_short3.ogg [new file with mode: 0644]
data/sounds/rubber_toy_short4.ogg [new file with mode: 0644]
data/sounds/rubber_toy_short5.ogg [new file with mode: 0644]
data/sounds/sources.txt
tabakrolletjie/enemies.py

diff --git a/data/sounds/eating_chips_1.ogg b/data/sounds/eating_chips_1.ogg
new file mode 100644 (file)
index 0000000..39e034d
Binary files /dev/null and b/data/sounds/eating_chips_1.ogg differ
diff --git a/data/sounds/eating_chips_2.ogg b/data/sounds/eating_chips_2.ogg
new file mode 100644 (file)
index 0000000..8c0ff19
Binary files /dev/null and b/data/sounds/eating_chips_2.ogg differ
diff --git a/data/sounds/eating_chips_3.ogg b/data/sounds/eating_chips_3.ogg
new file mode 100644 (file)
index 0000000..03a5888
Binary files /dev/null and b/data/sounds/eating_chips_3.ogg differ
diff --git a/data/sounds/rubber_toy_short1.ogg b/data/sounds/rubber_toy_short1.ogg
new file mode 100644 (file)
index 0000000..1dca434
Binary files /dev/null and b/data/sounds/rubber_toy_short1.ogg differ
diff --git a/data/sounds/rubber_toy_short2.ogg b/data/sounds/rubber_toy_short2.ogg
new file mode 100644 (file)
index 0000000..b47551b
Binary files /dev/null and b/data/sounds/rubber_toy_short2.ogg differ
diff --git a/data/sounds/rubber_toy_short3.ogg b/data/sounds/rubber_toy_short3.ogg
new file mode 100644 (file)
index 0000000..7ab7f92
Binary files /dev/null and b/data/sounds/rubber_toy_short3.ogg differ
diff --git a/data/sounds/rubber_toy_short4.ogg b/data/sounds/rubber_toy_short4.ogg
new file mode 100644 (file)
index 0000000..b3971df
Binary files /dev/null and b/data/sounds/rubber_toy_short4.ogg differ
diff --git a/data/sounds/rubber_toy_short5.ogg b/data/sounds/rubber_toy_short5.ogg
new file mode 100644 (file)
index 0000000..3496242
Binary files /dev/null and b/data/sounds/rubber_toy_short5.ogg differ
index 40b4b63424368bb888d81cdd29908fc3a8b3a180..308881a6eeb9a2d26659c67df2100f1d806614df 100644 (file)
@@ -23,3 +23,33 @@ Notes:
     Ogg generated using 'oggenc -q -1 mouth_pop_2a.wav'
 
 
+eating_chips_1.ogg
+eating_chips_2.ogg
+eating_chips_3.ogg
+------------------
+
+URL:
+    http://archive.org/download/Berklee44v10/Berklee44v10.zip
+Source:
+    http://archive.org/details/Berklee44v10
+License:
+    http://creativecommons.org/licenses/by/3.0
+Notes:
+    Oggs generated using 'oggenc -q -1 original.wav'
+
+
+rubber_toy_short1.ogg
+rubber_toy_short2.ogg
+rubber_toy_short3.ogg
+rubber_toy_short4.ogg
+rubber_toy_short5.ogg
+---------------------
+
+URL:
+    http://archive.org/download/Berklee44v6/Berklee44v6.zip
+Source:
+    http://archive.org/details/Berklee44v6
+License:
+    http://creativecommons.org/licenses/by/3.0
+Notes:
+    Oggs generated using 'oggenc -q -1 original.wav'
index 146ef56fa973e9823e0e09bc111947bf6d723183..a6b475719802e2c0f0f296fa978d1b14e42b93f6 100644 (file)
@@ -149,6 +149,8 @@ class Mould(pymunk.Body):
                 child._health = self._health
                 moulds.append(child)
                 refresh = True
+                if random.randint(0, 100) < 1:
+                    sound.play_sound("rubber_toy_short%d.ogg" % random.randint(1, 5), volume=0.3)
 
         if self._age in MOULD_STAGES:
             # We grow in size
@@ -158,7 +160,7 @@ class Mould(pymunk.Body):
         if self._age > MOULD_STAGES[1] and random.randint(0, 500) < 1:
             # Maybe we grow an eyeball
             self.has_eyeball = True
-            sound.play_sound("mouth_pop_2a.ogg")
+            sound.play_sound("mouth_pop_2a.ogg", volume=0.5)
 
         if self._age > MAX_AGE:
             # We die of old age
@@ -172,6 +174,7 @@ class Mould(pymunk.Body):
                                       EAT_TURNIP_FILTER)
             if query:
                 query[0].shape.body.turnip.eaten = True
+                sound.play_sound("eating_chips_%d.ogg" % random.randint(1, 3), volume=0.8)
         return refresh
 
     def damage(self, light, space, moulds):