X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fscenes%2Fhowto.py;h=d5261f3404ee9094d74572906cd8b722fde5a9b5;hb=fb6b38ffe38636871afc0134f145b3c670c1ccc3;hp=560aca48e7ba971a015af59fc8502d5f4218d7a3;hpb=db18631120e34670b9f8be526f5b7d5938e1d7fc;p=naja.git diff --git a/naja/scenes/howto.py b/naja/scenes/howto.py index 560aca4..d5261f3 100644 --- a/naja/scenes/howto.py +++ b/naja/scenes/howto.py @@ -23,9 +23,10 @@ class HowtoScene(Scene): 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 to " - "ever become clear.", - "You have 8 bits. Four bits control the directions " + "bits to gain points for reasons that are unlikely ever " + "to become clear.", + "", + "You have 8 bits. 4 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 " @@ -43,12 +44,16 @@ class HowtoScene(Scene): "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 coutdown timer in the top right corner. " - "If this timer is + it means more than 9 turns remain.", + "", + "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, @@ -57,7 +62,7 @@ class HowtoScene(Scene): box_width=740, view_port=(780, 540))) def handle_scene_event(self, ev): - from naja.scenes.menu import MenuScene + from naja.scenes.introduction import IntroductionScene if ev.type == pgl.KEYDOWN and ev.key in KEYS.QUIT: - SceneChangeEvent.post(MenuScene) + SceneChangeEvent.post(IntroductionScene) return