diff demos/shooter/scripts/ships/enemies.py @ 483:82d44c471959

Modified the SoundManager to not create unique FIFE sound emitters for each object. There is now only one FIFE emitter per unique sound. Added some sound effects.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 29 Apr 2010 16:09:56 +0000
parents ab28994820dd
children c4168eb47a44
line wrap: on
line diff
--- a/demos/shooter/scripts/ships/enemies.py	Thu Apr 29 13:51:45 2010 +0000
+++ b/demos/shooter/scripts/ships/enemies.py	Thu Apr 29 16:09:56 2010 +0000
@@ -211,6 +211,8 @@
 		self.hitpoints = 30
 		self.scorevalue = 1000
 		
+		self._explodclip = self._scene.soundmanager.loadSoundClip("sounds/bossexplode.ogg")
+		
 	def endLevel(self):
 		self._scene.endLevel()