From: Stefano Rivera Date: Fri, 16 May 2014 23:32:46 +0000 (+0200) Subject: Credits title shouldn't scroll X-Git-Tag: 0.1~150 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=2aa6c09889e4ffa2994c5f3a0aeb351ee3d6053e;p=naja.git Credits title shouldn't scroll --- 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',