diff --git a/birdie.py b/birdie.py index 16ef658..39000a8 100644 --- a/birdie.py +++ b/birdie.py @@ -12,19 +12,19 @@ def draw(): titi.draw() #ghost.draw() - def on_mouse_down(): - print("plus vite)") - titi.speed +=1 -# print('stop !') -# titi.y -= 20 -# ghost.x -= 10 -# titi.speed = 0 -# ghost.speed = 0 - -# def on_mouse_up(): -# print('go') -# titi.speed = 5 -# ghost.speed = 4 +def on_mouse_down(): + print("plus vite)") + # titi.speed +=1 + # print('stop !') + # titi.y -= 20 + ghost.x -= 10 + titi.speed = 0 + ghost.speed = 0 + +def on_mouse_up(): + print('go') + titi.speed = 5 + ghost.speed = 4 def update():