Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-05-24 02:19:24 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-05-24 02:19:24 (GMT)
commitaf1bedf582fe651ff2bac571581b7b3336350b29 (patch)
treef5045e0d905719e45a5eaa501339fa85f32d7d2f
parent90f7933e6aa799fcb85ff1500266701fd4c9a319 (diff)
taunt with all 4 cards
-rw-r--r--game.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/game.py b/game.py
index a2355cb..f5d5829 100644
--- a/game.py
+++ b/game.py
@@ -223,7 +223,7 @@ class Game():
self.level = 0
self._all_clear()
x = int(self._width / 4.)
- y = int(self._height / 4.)
+ y = int(self._height / 8.)
for i in range(len(str(self.score))):
self._sticky_cards[i].move((x, y))
self._sticky_cards[i].set_layer(CUCO_LAYER)
@@ -353,13 +353,13 @@ class Game():
return x, y
def _taunt(self, x, y, i):
- self._taunt_cards[(i + 1) % 2].hide()
+ self._taunt_cards[(i + 1) % 4].hide()
if self._clicked:
self._timeout_id = None
return True
else:
- self._taunt_cards[i % 2].move((x, y))
- self._taunt_cards[i % 2].set_layer(CUCO_LAYER)
+ self._taunt_cards[i % 4].move((x, y))
+ self._taunt_cards[i % 4].set_layer(CUCO_LAYER)
self._timeout_id = gobject.timeout_add(
200, self._taunt, x, y, i + 1)