From 2aa6c09889e4ffa2994c5f3a0aeb351ee3d6053e Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 17 May 2014 01:32:46 +0200 Subject: [PATCH] Credits title shouldn't scroll --- naja/scenes/credits.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/naja/scenes/credits.py b/naja/scenes/credits.py index b6f95b3..ab330bf 100644 --- a/naja/scenes/credits.py +++ b/naja/scenes/credits.py @@ -6,7 +6,7 @@ import pygame.locals as pgl from naja.constants import KEYS from naja.scenes.scene import Scene -from naja.widgets.text import TextBoxWidget +from naja.widgets.text import TextWidget, TextBoxWidget from naja.widgets.image_box import ImageBox from naja.events import SceneChangeEvent @@ -22,11 +22,10 @@ class CreditsScene(Scene): background = ImageBox( (0, 0), "screens/splash.png") self.add(background) + self.add(TextWidget((344, 300), 'CREDITS', colour='white')) self.add(TextBoxWidget( (10, 350), '\n'.join([ - 'CREDITS', - '', 'A game about robots and bits and other things', '', 'by', -- 2.34.1