Scrollable text widgets.
[naja.git] / naja / scenes / howto.py
index 5114069eab361447b202b5b9e7765b4a7620a44e..d44483411d0c3b93a2a86adc983602849e6502c5 100644 (file)
@@ -21,7 +21,7 @@ class HowtoScene(Scene):
             (200, 4), 'How To Play the Game', fontsize=32,
             colour='white'))
         self.add(TextBoxWidget(
-            (0, 40), '\n'.join([
+            (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.",
@@ -30,11 +30,15 @@ class HowtoScene(Scene):
                 "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.",
@@ -45,7 +49,7 @@ class HowtoScene(Scene):
             ]), fontsize=32,
             colour='white', padding=1, border=1,
             bg_colour='black', border_colour='black',
-            box_width=400))
+            box_width=380, view_port=(780, 500)))
 
     def handle_scene_event(self, ev):
         from naja.scenes.menu import MenuScene