From 3e9c783ef3e6a7ad83233270f513dcdbb22009df Mon Sep 17 00:00:00 2001 From: David Sharpe Date: Sun, 18 May 2014 00:20:31 +0200 Subject: [PATCH] I feel nothing for you. --- naja/scenes/introduction.py | 52 +++++++------------------------------ 1 file changed, 10 insertions(+), 42 deletions(-) diff --git a/naja/scenes/introduction.py b/naja/scenes/introduction.py index 4081187..a8e001f 100644 --- a/naja/scenes/introduction.py +++ b/naja/scenes/introduction.py @@ -48,7 +48,7 @@ class IntroductionScene(Scene): intro = TextWidget( (x_offset, y_offset), 'Introductory Level', colour='white', centre=True) - intro.add_callback('click', self.introduction_to_screen_1) + intro.add_callback('click', self.introduction_level) selector.add(intro) y_offset += 2*y_diff @@ -73,47 +73,15 @@ class IntroductionScene(Scene): dummy_game.render(game_surface) self.add(PreRenderedImageBox((0, 0), game_surface)) - # self.add(TextBoxWidget( - # (10, 50), '\n'.join([ - # "You are a robot, frantically trying to set the correct " - # "bits to gain points for reasons that are unlikely ever " - # "to become clear.", - # "", - # "You have 8 bits. Four bits control the directions " - # "you can move in {NORTH,SOUTH,EAST,WEST}, 3 allow you " - # "to unlock actions {RED,GREEN,BLUE} and the " - # "last, the Most Significant Bit {MSB}, makes everything " - # "work better.", - # "", - # "MOVEMENT", - # "", - # "During Movement, you can explore the board and learn about " - # "the available tiles. Tiles you can legally move onto are " - # "highlighted. It's always possible to stay in place.", - # "", - # "ACTIONS", - # "", - # "After moving, you must select an action. Some actions " - # "require the correct bits to be set before they can be " - # "selected. After the action, the tile will be replaced " - # "(except in puzzle mode).", - # "", - # "Some actions cost health {HEALTH}. If you run out of " - # "health {HEALTH}, you lose.", - # "", - # "Some actions gain you points {WINTOKEN}. Once you have " - # "enough points, you win the game.", - # "", - # "Some tiles have a countdown timer {COUNTDOWN}. This " - # "indicates the number of turns left before something " - # "happens. The timer moves faster as the deadline approaches.", - # "", - # "Press ESC to return to the menu.", - # ]), fontsize=32, - # colour='white', padding=1, border=1, - # bg_colour='black', border_colour='black', - # box_width=740, view_port=(780, 540))) - + self.add(TextBoxWidget( + (10, 50), '\n'.join([ + "You are a robot, frantically trying to set the correct " + "bits to gain points for reasons that are unlikely ever " + "to become clear.", + ]), fontsize=32, + colour='white', padding=1, border=1, + bg_colour='black', border_colour='black', + box_width=740, view_port=(780, 540))) def handle_scene_event(self, ev): -- 2.34.1