diff options
author | Wade Brainerd <wadetb@gmail.com> | 2009-01-26 01:38:16 (GMT) |
---|---|---|
committer | Wade Brainerd <wadetb@gmail.com> | 2009-01-26 01:38:16 (GMT) |
commit | 53f526ff1cde03e605d5b8666ae801f9dbab8fc6 (patch) | |
tree | 88dc9e8bb398cfbea7eb0ac54176220f76244f6c /balloongame.py | |
parent | fb0c2407556aa277601f3ba56714f7248b81998d (diff) |
Balloon game, lesson builder improvements.
Diffstat (limited to 'balloongame.py')
-rw-r--r-- | balloongame.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/balloongame.py b/balloongame.py index 65ea6f8..3e09706 100644 --- a/balloongame.py +++ b/balloongame.py @@ -23,8 +23,8 @@ import gobject, pygtk, gtk, pango # parameters about them. BALLOON_STAGES = [ { 'count': 10, 'delay': 80 }, - { 'count': 20, 'delay': 60 }, - { 'count': 70, 'delay': 40 }, + #{ 'count': 20, 'delay': 60 }, + #{ 'count': 70, 'delay': 40 }, ] class Balloon: @@ -205,8 +205,11 @@ class BalloonGame(gtk.VBox): self.area.window.draw_rectangle(gc, False, x, y, w, h) # Draw text - report = _('You finished!\n\nYour score was %(score)d.') % \ - { 'score': self.score } + report = _('You finished!') + report += '\n\n' + report += _('Your score was %(score)d.') % { 'score': self.score } + report += '\n\n' + report += _('Press the ENTER key to continue.') gc.foreground = self.area.get_colormap().alloc_color(0,0,0) layout = self.area.create_pango_layout(report) |