Browse Source

Challenge-3-ok

chapitre-1-challenge-4
Cleason 3 years ago
parent
commit
8ebee3f987
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      birdie.py

+ 3
- 1
birdie.py View File

@@ -15,7 +15,9 @@ def draw():


def on_mouse_up(): def on_mouse_up():
print('Clic souris !') print('Clic souris !')
# titi.y -= 50 # équivalent à titi.y = titi.y - 50
titi.speed = 10

def on_mouse_down():
titi.speed = 0 titi.speed = 0






Loading…
Cancel
Save