X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fscenes%2Flose.py;h=be9b60309a145ccf7db53b38b63af99f3731b27d;hb=c81c66c4be9f5e683e2dca82cc236d36be254d3b;hp=8dea59a788ebb303bd688049e1e40437a9324450;hpb=f3f2834ea4922c72026d8de3c2c67db704b63544;p=naja.git diff --git a/naja/scenes/lose.py b/naja/scenes/lose.py index 8dea59a..be9b603 100644 --- a/naja/scenes/lose.py +++ b/naja/scenes/lose.py @@ -24,25 +24,23 @@ class LoseScene(Scene): (0, 0), "screens/you_lost.png") self.add(background) - - #self.add(TextWidget( - # (50, 50), 'You lost!', colour=PALETTE.WHITE)) + y_offset = 250 if self.state.gameboard.has_cheated: self.add(TextWidget( - (50, 250), 'Even with cheats on.', colour=PALETTE.ORANGE)) + (50, y_offset), 'Even with cheats on.', colour=PALETTE.ORANGE)) + y_offset += 50 self.add(TextBoxWidget( - (50, 300), '\n\n'.join([ + (50, y_offset), '\n\n'.join([ "Something went terribly wrong.", "You should re-evaluate your life choices.", - "", "Press ESC to return to the menu", ]), fontsize=32, colour='white', padding=1, border=1, bg_colour='black', border_colour='black', box_width=300)) - sound.play_music('lost.ogg') + sound.play_music('lost.ogg', 0.25) def handle_scene_event(self, ev): from naja.scenes.menu import MenuScene