Browse Source

ajout Stop

chap1-challenge2-titistop
Melo 3 years ago
parent
commit
e93cd03708
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      birdie.py

+ 3
- 2
birdie.py View File

@@ -12,8 +12,9 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.y -= 20
titi.x -= -10
#titi.y -= 20
#titi.x -= -10
titi.speed = 0

def update():
titi.x += titi.speed


Loading…
Cancel
Save