Przeglądaj źródła

titivitesse augmente

Chap1-challenge6-vitesseacceleree
Melo 3 lat temu
rodzic
commit
507a54b224
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      birdie.py

+ 3
- 1
birdie.py Wyświetl plik

@@ -14,7 +14,9 @@ def on_mouse_down():
print('Clic souris !')
#titi.y -= 20
#titi.x -= -10
titi.speed = 0
#titi.speed = 0
titi.speed +=1

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


Ładowanie…
Anuluj
Zapisz