Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
Jen
/
paf-loiseau
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
chap1-challenge6
chap1-challenge6
Jen
3 lat temu
rodzic
ceac5cc864
commit
76c6a58f53
1 zmienionych plików
z
2 dodań
i
0 usunięć
Zunifikowany widok
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+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
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz