Changeset 236
- Timestamp:
- 01/05/07 02:09:01 (5 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 2 modified
-
NEWS.txt (modified) (1 diff)
-
src/pyspacewar/sounds (added)
-
src/pyspacewar/sounds/Gun_Silencer.wav (added)
-
src/pyspacewar/sounds/README.txt (added)
-
src/pyspacewar/ui.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS.txt
r235 r236 8 8 a better video mode; if not, give a better first impression by avoiding 9 9 sluggishness. 10 - Sound effects! Well, one sound effect. 10 11 11 12 December 25, 2006: Released version 0.9.3: the Christmas release. -
trunk/src/pyspacewar/ui.py
r235 r236 1852 1852 self._init_pygame() 1853 1853 self._init_trail_colors() 1854 self._load_sounds() 1854 1855 self._load_planet_images() 1855 1856 self._load_background() … … 1966 1967 # of subsequent blits 1967 1968 self.background_surface = scaled.convert() 1969 1970 def _load_sounds(self): 1971 """Load bitmaps of planets.""" 1972 self.fire_sound = pygame.mixer.Sound(find('sounds', 1973 'Gun_Silencer.wav')) 1968 1974 1969 1975 def _init_fonts(self): … … 2245 2251 if not self.ai_controlled[player_id]: 2246 2252 self.ships[player_id].launch() 2253 self.fire_sound.play() 2247 2254 2248 2255 def draw(self):
