Ignore:
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • data/levels/crew

    r593 r594  
    116116  classname: ChargingAlien
    117117  name: store_alien_1
     118- args:
     119  - [684, 612]
     120  - 300
     121  classname: ChargingAlien
     122  name: room_one_alien
     123- args:
     124  - [1304, 760]
     125  - 300
     126  classname: ChargingAlien
     127  name: room_two_alien
    118128game_objects:
    119129- args:
     
    424434  classname: ToggleSwitch
    425435  name: room_two_switch
     436- args:
     437  - [2668, 1428]
     438  classname: SokoBox
     439  name: lift_box_1
     440- args:
     441  - [2792, 1436]
     442  classname: SokoBox
     443  name: store_box_2
     444- args:
     445  - [2732, 1316]
     446  classname: SokoBox
     447  name: lift_box_3
    426448lines: []
    427449music: POL-cyber-factory-short.ogg
  • data/levels/finale

    r582 r587  
    4343  name: acid_4
    4444lines: []
    45 music: POL-cyber-factory-short.ogg
     45music: moonlight-sonata.ogg
    4646polygons:
    4747  1:
  • data/levels/hangar

    r582 r589  
    197197- args:
    198198  - [2595, 1100]
    199   - Agricultural Research Laboratory: Authorised research staff only.
     199  - 'Agricultural Research Laboratory: Authorised research staff only.'
    200200  classname: Note
    201201  name: note_sheep
  • data/levels/level1

    r582 r591  
    6363  classname: PuzzleDoor
    6464  name: switch_door
    65 - args:
    66   - [600, 600]
    67   - 100
    68   - 1000
    69   classname: GravityWell
    7065lines:
    7166- - [750, 680]
  • data/sounds/SOURCES.txt

    r271 r588  
    99    Generated by Neil Muller, Aug 2010
    1010    Not copyrightable.
     11
     12
     13robotstep2.ogg
     14--------------
     15
     16URL:
     17    http://archive.org/download/Berklee44Barkovich/Berklee44Barkovich.zip
     18Source:
     19    http://archive.org/details/Berklee44Barkovich
     20License:
     21    http://creativecommons.org/licenses/by/3.0
     22Notes:
     23    Ogg generated using 'oggenc robotstep2.wav'
  • nagslang/game_object.py

    r585 r591  
    1515from nagslang.resources import resources
    1616from nagslang.events import DoorEvent
     17from nagslang.sound import sound
    1718
    1819
     
    405406
    406407    def door_opened(self):
    407         pass
     408        sound.play_sound('robotstep2.ogg')
    408409
    409410
     
    469470    def door_opened(self):
    470471        self._stored_state['is_open'] = True
     472        super(PuzzleDoor, self).door_opened()
    471473
    472474    def set_stored_state_dict(self, stored_state):
  • nagslang/screens/area.py

    r555 r586  
    9595        self.add_game_objects()
    9696        self.save_progress()
    97         sound.play_music("POL-cyber-factory-short.ogg")
     97        sound.play_music(self._level.music)
    9898        self._background = None
    9999        self._surface = None
  • nagslang/sound.py

    r292 r591  
    6464
    6565    def stop(self):
    66         mixer.stop()
     66        mixer.fadeout(1000)
    6767        mixer.music.stop()
    6868
Note: See TracChangeset for help on using the changeset viewer.