Sfoglia il codice sorgente

titivitesse augmente

Chap1-challenge6-vitesseacceleree
Melo 3 anni fa
parent
commit
507a54b224
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      birdie.py

+ 3
- 1
birdie.py Vedi File

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


Caricamento…
Annulla
Salva