Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-04-20 13:41:56 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-04-20 13:41:56 (GMT)
commitbdc523173311b94cbbf979b3237eed36c26598cf (patch)
tree319752a81f8826ac94297f8ca0eb091f322b4e4b /game.py
parent5da398cb6c93a98f0775892ac4037e49ad49b975 (diff)
adding more frames to help animation
Diffstat (limited to 'game.py')
-rw-r--r--game.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/game.py b/game.py
index b8bb92d..a9caf86 100644
--- a/game.py
+++ b/game.py
@@ -218,7 +218,7 @@ class Game():
[BACKGROUNDMASK, 0, 0, 0]))
self._frowny[-1].spr.move(self.grid.match_to_xy(3))
- for i in range(11):
+ for i in range(22):
path = os.path.join(activity.get_bundle_path(),
'images', 'help-%d.svg' % i)
svg_str = svg_from_file(path)
@@ -1116,7 +1116,7 @@ class Game():
self._help_index += 1
self._help_index %= len(self._help)
self._help[self._help_index].set_layer(5000)
- if self._help_index in [0, 9, 10]:
+ if self._help_index in [0, 9, 10, 20, 21]:
self._help_timeout_id = gobject.timeout_add(2000, self._help_next)
else:
self._help_timeout_id = gobject.timeout_add(1000, self._help_next)