X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fscenes%2Fcredits.py;h=9bb6d89494fcb00e08018b6b3631c376a1f3eb24;hb=53948779548748e84ff6ded37ad0fc9f76b25024;hp=b6f95b3effaf754375bd63159eedf74d6ef3a306;hpb=bd58a6d642cee4d896cbeb7ee698923f0b7f7330;p=naja.git diff --git a/naja/scenes/credits.py b/naja/scenes/credits.py index b6f95b3..9bb6d89 100644 --- a/naja/scenes/credits.py +++ b/naja/scenes/credits.py @@ -1,3 +1,4 @@ +# coding: UTF-8 """ Credits scene. """ @@ -6,7 +7,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,26 +23,36 @@ class CreditsScene(Scene): background = ImageBox( (0, 0), "screens/splash.png") self.add(background) + self.add(TextWidget( + (400, 300), 'CREDITS', colour='white', centre=True)) self.add(TextBoxWidget( - (10, 350), '\n'.join([ - 'CREDITS', - '', + (400, 340), '\n'.join([ 'A game about robots and bits and other things', '', 'by', '', - 'Adrianna Pinska, David Sharpe, Jeremy Thurgood, ' - 'Neil Muller, Simon Cross & Stefano Rivera', + u'Adrianna Pińska, David Sharpe, Jeremy Thurgood, ' + u'Neil Muller, Simon Cross & Stefano Rivera', + '', + 'Special thanks to:', + '', + 'Desilu Crossman', + 'for snacks and tutorial inspiration', + '', + 'Bearnard Hibbins, Graham Inggs,', + 'and William Stewart', + 'for playtesting and finding bugs', '', 'Music by Rolemusic:', 'http://rolemusic.sawsquarenoise.com/', '', - 'Press ESC to return to the menu.', + 'Out of credits. Insert coin.', + '(Press ESC to return to the menu.)', ]), colour='white', padding=1, bg_colour=(0, 0, 0, 0), centre=True, - box_width=640, view_port=(780, 230))) + box_width=780, view_port=(780, 250))) def handle_scene_event(self, ev): if ev.type == pgl.KEYDOWN and ev.key in KEYS.QUIT: