From 371010e15024140f98f03bb5dee53c48a52ba071 Mon Sep 17 00:00:00 2001 From: ophelie Date: Tue, 1 Dec 2020 16:29:39 +0100 Subject: [PATCH] chap1-challenge6 --- birdie.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/birdie.py b/birdie.py index 6a030fd..fd652e5 100644 --- a/birdie.py +++ b/birdie.py @@ -14,9 +14,11 @@ def on_mouse_down(): # fonction 'click avec souris' def on_mouse_up(): # fonction 'quand la souris ne click plus' print('relache souris') titi.y += 6 - titi.speed = 5 + titi.speed = 3 + titi.speed += 1 birdi.y += 10 - birdi.speed = 8 + birdi.speed = 2 + birdi.speed += 1 def update(): titi.y += titi.speed # mise a jour (60x/sec) de titi