projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bd58a6d
)
Credits title shouldn't scroll
author
Stefano Rivera
<stefano@rivera.za.net>
Fri, 16 May 2014 23:32:46 +0000
(
01:32
+0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Fri, 16 May 2014 23:32:46 +0000
(
01:32
+0200)
naja/scenes/credits.py
patch
|
blob
|
history
diff --git
a/naja/scenes/credits.py
b/naja/scenes/credits.py
index b6f95b3effaf754375bd63159eedf74d6ef3a306..ab330bfd9fb5be28f16c35251789a255203c6162 100644
(file)
--- 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.constants import KEYS
from naja.scenes.scene import Scene
-from naja.widgets.text import TextBoxWidget
+from naja.widgets.text import Text
Widget, Text
BoxWidget
from naja.widgets.image_box import ImageBox
from naja.events import SceneChangeEvent
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)
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([
self.add(TextBoxWidget(
(10, 350), '\n'.join([
- 'CREDITS',
- '',
'A game about robots and bits and other things',
'',
'by',
'A game about robots and bits and other things',
'',
'by',