Changeset 620:b0f6259a5a87


Ignore:
Timestamp:
09/07/13 22:53:29 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
62333930393438646263343063666663666234613966623731623831306432306131633634633231
Message:

Alien Death Sounds.

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • data/sounds/SOURCES.txt

    r612 r620  
    4848Notes:
    4949    Ogg generated using 'oggenc -q -1 vocoder2_short.ogg'
     50
     51
     52eviltoy1.ogg
     53------------
     54
     55URL:
     56    http://archive.org/download/Berklee44v13/Berklee44v13.zip
     57Source:
     58    http://archive.org/details/Berklee44v13
     59License:
     60    http://creativecommons.org/licenses/by/3.0
     61Notes:
     62    Ogg generated using 'oggenc -q -1 eviltoy1.ogg'
     63
     64
     65synth_detuned1.ogg
     66------------------
     67
     68URL:
     69    http://archive.org/download/Berklee44v13/Berklee44v13.zip
     70Source:
     71    http://archive.org/details/Berklee44v13
     72License:
     73    http://creativecommons.org/licenses/by/3.0
     74Notes:
     75    Ogg generated using 'oggenc -q -1 synth_detuned1.ogg'
  • nagslang/enemies.py

    r612 r620  
    1515from nagslang.resources import resources
    1616from nagslang.utils import vec_with_length
     17from nagslang.sound import sound
    1718
    1819
     
    162163                                     self.physicser.position,
    163164                                     self.enemy_type),)
     165            self.play_death_sound()
    164166        self.move(result)
    165167        self.attack(result)
    166168        return result
     169
     170    def play_death_sound(self):
     171        sound.play_sound("synth_detuned1.ogg")
    167172
    168173    @classmethod
     
    378383        self.set_direction(*self.random_move())
    379384
     385    def play_death_sound(self):
     386        sound.play_sound("eviltoy1.ogg")
     387
    380388    @classmethod
    381389    def requires(cls):
Note: See TracChangeset for help on using the changeset viewer.