Przeglądaj źródła

chap1-challenge6

chap1-challenge6
Jen 3 lat temu
rodzic
commit
76c6a58f53
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      birdie.py

+ 2
- 0
birdie.py Wyświetl plik

@@ -18,6 +18,8 @@ def on_mouse_up(): # fonction 'quand la souris ne click plus'
titi.y += 100 titi.y += 100
titi.speed = 5 titi.speed = 5
piou.speed = 3 piou.speed = 3
titi.speed += 1
piou.speed += 1


def update(): def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi titi.y += titi.speed # mise a jour (60x/sec) de titi


Ładowanie…
Anuluj
Zapisz