Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bounce.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-10-06 01:24:14 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-10-06 01:24:14 (GMT)
commit9dbe3b393c732fb784c764f0d818120024ef5e1d (patch)
treeb4f8a5fabfedf6d43b73d674447585837ece06cb /bounce.py
parent6be4e8515daed50fa2d18336c70ccffbe8ea39c7 (diff)
add reticule to mark
Diffstat (limited to 'bounce.py')
-rw-r--r--bounce.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bounce.py b/bounce.py
index 84c4a7c..1658721 100644
--- a/bounce.py
+++ b/bounce.py
@@ -191,11 +191,13 @@ class Bounce():
spr.move((0, self.height)) # move animation cells off screen
self.frame = 0
- mark = _svg_header(self.ball.rect[2] / 2, BAR_HEIGHT * self.scale + 4,
- 1.0) + \
- _svg_rect(self.ball.rect[2] / 2,
+ mark = _svg_header(self.ball.rect[2] / 2.,
+ BAR_HEIGHT * self.scale + 4, 1.0) + \
+ _svg_rect(self.ball.rect[2] / 2.,
BAR_HEIGHT * self.scale + 4, 0, 0, 0, 0,
'#FF0000', '#FF0000') + \
+ _svg_rect(1, BAR_HEIGHT * self.scale + 4, 0, 0,
+ self.ball.rect[2] / 4., 0, '#000000', '#000000') + \
_svg_footer()
self.mark = Sprite(self.sprites, 0,
self.height, # hide off bottom of screen