Przeglądaj źródła

ajout Stop

chap1-challenge2-titistop
Melo 3 lat temu
rodzic
commit
e93cd03708
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      birdie.py

+ 3
- 2
birdie.py Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz