projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
countdown glyphs
[naja.git]
/
naja
/
scenes
/
howto.py
diff --git
a/naja/scenes/howto.py
b/naja/scenes/howto.py
index d44483411d0c3b93a2a86adc983602849e6502c5..560aca48e7ba971a015af59fc8502d5f4218d7a3 100644
(file)
--- a/
naja/scenes/howto.py
+++ b/
naja/scenes/howto.py
@@
-5,9
+5,9
@@
Howto scene.
import pygame.locals as pgl
from naja.constants import KEYS
import pygame.locals as pgl
from naja.constants import KEYS
+from naja.events import SceneChangeEvent
from naja.scenes.scene import Scene
from naja.widgets.text import TextWidget, TextBoxWidget
from naja.scenes.scene import Scene
from naja.widgets.text import TextWidget, TextBoxWidget
-from naja.events import SceneChangeEvent
class HowtoScene(Scene):
class HowtoScene(Scene):
@@
-41,15
+41,20
@@
class HowtoScene(Scene):
"",
"After moving, you must select an action. Some actions "
"require the correct bits to be set before they can be "
"",
"After moving, you must select an action. Some actions "
"require the correct bits to be set before they can be "
- "selected. After the action, the tile will be replaced.",
+ "selected. After the action, the tile will be replaced "
+ "(except in puzzle mode).",
"Some actions cost health {HEALTH}. If you run out of "
"health {HEALTH}, you lose.",
"Some actions gain you points {WINTOKEN}. Once you have "
"Some actions cost health {HEALTH}. If you run out of "
"health {HEALTH}, you lose.",
"Some actions gain you points {WINTOKEN}. Once you have "
- "enough points, you win the game."
+ "enough points, you win the game.",
+ "Some tiles have a coutdown timer in the top right corner. "
+ "If this timer is + it means more than 9 turns remain.",
+ "",
+ "Press ESC to return to the menu.",
]), fontsize=32,
colour='white', padding=1, border=1,
bg_colour='black', border_colour='black',
]), fontsize=32,
colour='white', padding=1, border=1,
bg_colour='black', border_colour='black',
- box_width=
380, view_port=(780, 50
0)))
+ box_width=
740, view_port=(780, 54
0)))
def handle_scene_event(self, ev):
from naja.scenes.menu import MenuScene
def handle_scene_event(self, ev):
from naja.scenes.menu import MenuScene