Sfoglia il codice sorgente

ajout Stop

chap1-challenge2-titistop
Melo 3 anni fa
parent
commit
e93cd03708
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      birdie.py

+ 3
- 2
birdie.py Vedi 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


Caricamento…
Annulla
Salva