+# coding: UTF-8
"""
Credits scene.
"""
background = ImageBox(
(0, 0), "screens/splash.png")
self.add(background)
- self.add(TextWidget((344, 300), 'CREDITS', colour='white'))
+ self.add(TextWidget(
+ (400, 300), 'CREDITS', colour='white', centre=True))
self.add(TextBoxWidget(
- (10, 350), '\n'.join([
+ (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',
'',
'Music by Rolemusic:',
'http://rolemusic.sawsquarenoise.com/',
]),
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: