Centre some credits lines
[naja.git] / naja / scenes / credits.py
index 0425963591d833c78cde9a118d12f39b05ff07b7..05493dd1f436224d3ab43357575dcfd7da906f5e 100644 (file)
@@ -18,12 +18,12 @@ class CreditsScene(Scene):
     def __init__(self, state):
         super(CreditsScene, self).__init__(state)
         self.add(TextWidget(
-            (280, 30), 'Credits', fontsize=32, colour='white'))
+            (400, 30), 'Credits', fontsize=32, colour='white', centre=True))
         self.add(TextWidget(
-            (20, 80), 'A game about robots and bits and other things',
-            fontsize=32, colour='white'))
+            (400, 80), 'A game about robots and bits and other things',
+            fontsize=32, colour='white', centre=True))
         self.add(TextWidget(
-            (300, 120), 'by', fontsize=32, colour='white'))
+            (400, 120), 'by', fontsize=32, colour='white', centre=True))
         self.add(TextBoxWidget(
             (20, 160), 'Adrianna Pinska, David Sharpe, Jeremy Thurgood, '
             'Neil Muller, Simon Cross & Stefano Rivera',