diff --git a/birdie.py b/birdie.py index 9e11921..f467843 100644 --- a/birdie.py +++ b/birdie.py @@ -6,7 +6,7 @@ HEIGHT = 708 def on_mouse_down(): print('Clic souris !') - titi.y -= 50 # équivalent à titi.y = titi.y - 50 + titi.y -= 50 def update(): titi.y += titi.speed @@ -18,4 +18,4 @@ def draw(): titi = Actor('bird1', (75, 350)) titi.speed = 3 -pgzrun.go() \ No newline at end of file +pgzrun.go()