Browse Source

chapitre1-challenge3

chapitre1-challenge4
Jen 3 years ago
parent
commit
73a5928bb3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      birdie.py

+ 4
- 0
birdie.py View File

@@ -12,6 +12,10 @@ def on_mouse_down():
titi.y -= 50 titi.y -= 50
titi.speed = 0 titi.speed = 0


def on_mouse_up():
print('Clic souris !')
titi.y -= 50
titi.speed = 1




def update(): def update():


Loading…
Cancel
Save