Mercurial > skaapsteker
comparison skaapsteker/cutscene.py @ 499:069fc6312ab8
Music in cutscenes
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 09 Apr 2011 22:56:02 +0200 |
parents | b02d51e06c17 |
children | d9b70b89cca6 |
comparison
equal
deleted
inserted
replaced
498:70f26b24241c | 499:069fc6312ab8 |
---|---|
90 defeated the poor fox, it stole its tail and threw it to the four winds. | 90 defeated the poor fox, it stole its tail and threw it to the four winds. |
91 | 91 |
92 The kitsune stole your tail. Now it’s time to get it back. | 92 The kitsune stole your tail. Now it’s time to get it back. |
93 """ | 93 """ |
94 background = 'background_01_back.png' | 94 background = 'background_01_back.png' |
95 music = None | 95 music = 'music/ambient japanese music 2.ogg' |
96 | 96 |
97 def done(self, selected=None, data=None): | 97 def done(self, selected=None, data=None): |
98 fox = self.game_state.world.fox | 98 fox = self.game_state.world.fox |
99 ChangeScene.post((LevelScene, '.'.join([fox.level, fox.doorway]))) | 99 ChangeScene.post((LevelScene, '.'.join([fox.level, fox.doorway]))) |
100 | 100 |
137 nextmaking, | 137 nextmaking, |
138 aesqe, | 138 aesqe, |
139 inferno | 139 inferno |
140 """ | 140 """ |
141 background = 'background_03_back.png' | 141 background = 'background_03_back.png' |
142 music = None | 142 music = 'music/ambient japanese music 3.ogg' |
143 | 143 |
144 | 144 |
145 class VictoryCutScene(CutScene): | 145 class VictoryCutScene(CutScene): |
146 music = None | 146 music = 'music/ambient japanese music 1.ogg' |
147 | 147 |
148 def __init__(self, game_state, soundsystem): | 148 def __init__(self, game_state, soundsystem): |
149 super(VictoryCutScene, self).__init__(game_state, soundsystem) | 149 super(VictoryCutScene, self).__init__(game_state, soundsystem) |
150 self._background_img = data.load_image('backgrounds/victory-menu.png') | 150 self._background_img = data.load_image('backgrounds/victory-menu.png') |
151 | 151 |